in reply to Re^2: Tracing memory leak
in thread Tracing memory leak
In your production code, try examining the value of the perl internals variable PL_sv_count (e.g. write a little C wrapper function that returns its value to perl space). This var shows the total number of SVs allocated. If it keeps growing, it means that you're leaking SVs.
Dave.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Tracing memory leak
by halfcountplus (Hermit) on Sep 14, 2011 at 20:43 UTC | |
by dave_the_m (Monsignor) on Sep 14, 2011 at 22:11 UTC | |
by halfcountplus (Hermit) on Sep 14, 2011 at 23:04 UTC |