Debug high memory usage #189
Unanswered
jpellegrini
asked this question in
Q&A
Replies: 1 comment
-
There are several compilation flags for the GC (see in gc/doc) . I always found that they are more useful for debugging the gc library than your program. A simple way to debug I have used is tio change #define STk_must_malloc(size) debug_gc_malloc(size, __FILE__, __LINE__) and implement the wrapper |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi @egallesio !
I was working on SRFI-194, and its test suite always eat up all available memory (I have 32Gb RAM!)
I was wondering if there is a way to debug memory allocation and tell, at least, what function is allocating more memory, or something similar.
Beta Was this translation helpful? Give feedback.
All reactions