in reply to Re^4: Tracing memory leak
in thread Tracing memory leak
There is too much missing from what you've posted to be able to mock something up to allow it to compile.
The most productive technique I've found for tracking down such leaks is a simple, if rather laborious one of commenting out most of the body of the code -- for example, so that it returns just an empty hash or even just a scalar -- and checking that it no longer leaks. Then put it back in chunks until the leak reappears. Not sophisticated, but reliable.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^6: Tracing memory leak
by halfcountplus (Hermit) on Sep 15, 2011 at 11:40 UTC | |
by BrowserUk (Patriarch) on Sep 15, 2011 at 11:50 UTC |