Skip to content

How do I know if any memory leaks in my codes? #283

Answered by emeryberger
LvJC asked this question in Q&A
Discussion options

You must be logged in to vote

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.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by emeryberger
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants