A
Abble
Okay, I have about 6,000 lines of Perl code, which generally work
GREAT, but I have a big memory leak.
Yes, I had to do some sloppy coding to leak memory in Perl. I have a
LOT of global variables.
After each pass of the program a few hundred megabytes get leaked into
various variables.
I HAVE added a sub to reset everything to '' and (), but I must be
forgetting a few variables, as on each pass the memory usage goes UP
and UP and UP, until it gets to about 1.6GB and everything crashes.
Is there some way to view ALL of the Perl symbol tables and see what
I'm forgetting to trash?
I tried several of the hints on the net, including peeking at keys
\main::, and so on, but all I see there are barewords and some sub
names, none of my variable names.
Any hints appreciated.
GREAT, but I have a big memory leak.
Yes, I had to do some sloppy coding to leak memory in Perl. I have a
LOT of global variables.
After each pass of the program a few hundred megabytes get leaked into
various variables.
I HAVE added a sub to reset everything to '' and (), but I must be
forgetting a few variables, as on each pass the memory usage goes UP
and UP and UP, until it gets to about 1.6GB and everything crashes.
Is there some way to view ALL of the Perl symbol tables and see what
I'm forgetting to trash?
I tried several of the hints on the net, including peeking at keys
\main::, and so on, but all I see there are barewords and some sub
names, none of my variable names.
Any hints appreciated.