in reply to Re: understanding devel::leak
in thread understanding devel::leak
I don't think I've created any circular references, I've certainly not got any re-entrant code. However, I have loads of anonymous arrays. I did find_cycle and Dump() a few variables at function exit points and found all had ref counts greater than 1. I'll see what I can find with devel::peek.
edit Oops, Dump() is devel::peek, I was associating it with data::dumper. Ho hum.
I've just added an undef ....; to the end of all relevent functions to correspond with all the my ......; but I feel like I'm guessing. There must be a better way to get an idea of memory use than watching perfmon.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: understanding devel::leak
by almut (Canon) on Oct 04, 2007 at 13:23 UTC | |
by jczeus (Monk) on Oct 05, 2007 at 07:18 UTC | |
by almut (Canon) on Oct 05, 2007 at 12:30 UTC | |
by jczeus (Monk) on Oct 16, 2007 at 09:42 UTC |