-
-
Notifications
You must be signed in to change notification settings - Fork 72
Open
Labels
Description
I'm profiling to find a leak in an API endpoint that runs a complex process. I have objgraph.show_growth report at two or three points inside the endpoint's main method.
Hitting the endpoint over and over, I quickly hit a MemoryError, and for a while large positive deltas are reported, but finally the deltas stop being reported at all.
I guess conceivably this could mean one of two things:
- There is no positive delta to report: memory is saturated with objects involved and no new ones are created.
- Objects are being created, but show_growth can't function properly in the given memory, so it doesn't report them.
I don't really understand this library well enough to see which one is more likley, but can you comment as to which one you think it is?
Thanks.