Replies: 1 comment
-
Sorry I can not reproduce these huge numbers (1.3GiB). What I have with my massif usage (gen):
And when block_compile is called:
This is consistent with max resident memory (3MB) reported by /usr/bin/time. Also the first snapshot you posted shows 1,312,816B which is about 1.3MiB (not 1.3GiB as you wrote in your first paragraph). |
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
-
Based on my observations of the analysis conducted using the memory sanitization tool
valgrind
, it's evident thatMIR_gen
consumes approximately 1.3 GiB of memory, whilec2mir_compile
consumes around 0.45 GiB. Consequently, I am inquiring about potential strategies to reduce the memory consumption ofMIR_gen
. For example, we could lower memory consumption by removing certain modules that demand substantial memory but are dispensable for these two functions or reusing memory within some functions rather than repeatedly allocating and freeing it.Issue reproducing
test
Beta Was this translation helpful? Give feedback.
All reactions