in reply to Re^3: Memory leak question
in thread Memory leak question
for (1..100) {
$date->parse("2010-02-01 01:02:03");
}
I get the following output:
leaked SV(0x0x1300100) from /home/sulbeck/local/lib/perl5/5.10.1/Date/Manip/TZ/amnew_00.pm line 44 leaked RV(0x0x1250200) from /home/sulbeck/local/lib/perl5/5.10.1/Date/Manip/TZ/amnew_00.pm line 44 leaked SV(0x0x12d0300) from /home/sulbeck/local/lib/perl5/5.10.1/Date/Manip/Date.pm line 1115 leaked SV(0x0x1310200) from /home/sulbeck/local/lib/perl5/5.10.1/Date/Manip/TZ/amnew_00.pm line 44 leaked RV(0x0x12d0000) from /home/sulbeck/local/lib/perl5/5.10.1/Date/Manip/TZ.pm line 163 leaked SV(0x0x1320300) from /home/sulbeck/local/lib/perl5/5.10.1/Date/Manip/TZ/amnew_00.pm line 44 leaked SV(0x0x12a0100) from /home/sulbeck/local/lib/perl5/5.10.1/Date/Manip/Date.pm line 1115 leaked SV(0x0x12e0100) from /home/sulbeck/local/lib/perl5/5.10.1/Date/Manip/TZ/amnew_00.pm line 44 leaked SV(0x0x1320000) from /home/sulbeck/local/lib/perl5/5.10.1/Date/Manip/TZ/amnew_00.pm line 44 leaked SV(0x0x12f0100) from /home/sulbeck/local/lib/perl5/5.10.1/Date/Manip/TZ/amnew_00.pm line 44So, even though I've got a couple leaks, it's not leaking at every iteration. It appears that there are a couple of 'one-time-only' leakes, and I'd be willing to ignore them if I can't resolve them in a reasonable amout of time.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: Memory leak question
by BrowserUk (Patriarch) on Oct 05, 2010 at 15:18 UTC | |
by SBECK (Chaplain) on Oct 05, 2010 at 15:46 UTC | |
by BrowserUk (Patriarch) on Oct 05, 2010 at 16:03 UTC | |
by SBECK (Chaplain) on Oct 05, 2010 at 19:03 UTC | |
by BrowserUk (Patriarch) on Oct 05, 2010 at 19:54 UTC | |
|