How do I know if any memory leaks in my codes? #283
-
Don't know how to use scalene to check if any memory leaks happen in my codes. |
Beta Was this translation helpful? Give feedback.
Answered by
emeryberger
Jan 12, 2022
Replies: 1 comment
-
The top line indicates whether memory is growing over time. The memory trend lines for each line should show growth as an uphill slope, unless it's very slow. Scalene now also features an experimental flag that may help: |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
emeryberger
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The top line indicates whether memory is growing over time. The memory trend lines for each line should show growth as an uphill slope, unless it's very slow. Scalene now also features an experimental flag that may help:
--memory-leak-detector
-- this is intended to identify lines that are responsible for allocating memory that leaks.