in reply to Re^7: Detecting memory leaks.
in thread Detecting memory leaks.
Hi Anon,
Ok, I ran it and I get a huge list of stuff like this:
new 0x492bdd8 : new 0x36031a0 : new 0x2930a58 : new 0x2909af8 : old (1): 0 old (1): 0 old (1):
I guess they are new octal addresses. The counts seem very high, this is what I get:
my $mu = Memory::Usage->new(); $mu->record('before add appointment'); my $count1 = Devel::Leak::NoteSV(my $handle); __new_appointment($self1, $event1); my $count2 = Devel::Leak::CheckSV($handle ); print $count1, "\n"; print $count2, "\n"; print $count2-$count1, "\n"; $mu->record('after add appointment'); $mu->dump(); __END__ 595269 596072 803 time vsz ( diff) rss ( diff) shared ( diff) code ( diff) + data ( diff) 0 772200 ( 772200) 195796 ( 195796) 43708 ( 43708) 8 ( + 8) 369168 ( 369168) before add appointment 33 794160 ( 21960) 217104 ( 21308) 43972 ( 264) 8 ( +0) 390508 ( 21340) after add appointment
How can I track down these addresses?
It's a bit above my pay grade!
Regards
Steve.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^9: Detecting memory leaks.
by Anonymous Monk on May 07, 2015 at 09:50 UTC | |
by Steve_BZ (Chaplain) on May 07, 2015 at 11:16 UTC | |
by wrog (Friar) on May 07, 2015 at 15:51 UTC | |
by Anonymous Monk on May 08, 2015 at 03:00 UTC | |
by Steve_BZ (Chaplain) on May 11, 2015 at 16:09 UTC | |
by Anonymous Monk on May 13, 2015 at 07:19 UTC | |
by Anonymous Monk on May 13, 2015 at 07:54 UTC | |
| |
by Steve_BZ (Chaplain) on May 09, 2015 at 20:16 UTC | |
by Steve_BZ (Chaplain) on May 07, 2015 at 10:25 UTC | |
by Anonymous Monk on May 07, 2015 at 11:01 UTC | |
by Anonymous Monk on May 07, 2015 at 09:52 UTC |