Dump Memray bin on interval #585
Answered
by
pablogsal
iloveitaly
asked this question in
Q&A
-
I'm trying to track down a memory leak that results in a SIGKILL. Per the documentation, SIGKILL results in no output being dumped, which makes sense. Is there a way to schedule a memray output dump at a specific interval? This way, if the process dies because of SIGKILL, I can still inspect memory usage. |
Beta Was this translation helpful? Give feedback.
Answered by
pablogsal
Apr 29, 2024
Replies: 1 comment 2 replies
-
Unless you are using aggregated files, memray dumps as it tracks allocations so even if you receive |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
iloveitaly
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Unless you are using aggregated files, memray dumps as it tracks allocations so even if you receive
SIGKILL
there will be a functional dump. With aggregated files the file is created at the end so in that case it won't work withSIGKILL