piotr has asked for the wisdom of the Perl Monks concerning the following question:
#!/usr/bin/perl use warnings; use strict; use Devel::Leak; my ($count,$last,$handle); $last=0; foreach (0..2000) { $count = Devel::Leak::NoteSV($handle); print "C01: " . $count ."\t"; print "C02: " . Devel::Leak::NoteSV($handle) . "\t"; print "Diff: " . ($count-$last) . "\n"; $last = $count; } print "Check memory usage.In my box is around 230mb,return to finish"; <>
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Abnormal memory in some modules
by tilly (Archbishop) on Aug 17, 2004 at 01:39 UTC | |
by piotr (Initiate) on Aug 17, 2004 at 13:59 UTC | |
by tilly (Archbishop) on Aug 17, 2004 at 15:46 UTC |