No garbage collection when running with valgrind #14100
Unanswered
felixApellSkjutar
asked this question in
Unix & Windows
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
When debugging a project I stumbled upon a problem and can't seem to understand it really.
When running the following simple example with
MICROPY_DEBUG_VALGRIND (1)
and valgrind, the garbage collector won't do automatic collection and I run out of memory. If I try to force a collection usinggc.collect()
I get an invalid read and a termination.Output when trying to force a collection while running with valgrind:
Output when not trying to force a collection:
Is this expected behavior or is there a way to run my programs with valgrind and an active garbage collector?
Beta Was this translation helpful? Give feedback.
All reactions