Mailing List Archive

svn commit: r440085 - /spamassassin/trunk/masses/mass-check
Author: jm
Date: Mon Sep 4 07:15:36 2006
New Revision: 440085

URL: http://svn.apache.org/viewvc?view=rev&rev=440085
Log:
add commented-out section of code for developers looking for memory leaks in future

Modified:
spamassassin/trunk/masses/mass-check

Modified: spamassassin/trunk/masses/mass-check
URL: http://svn.apache.org/viewvc/spamassassin/trunk/masses/mass-check?view=diff&rev=440085&r1=440084&r2=440085
==============================================================================
--- spamassassin/trunk/masses/mass-check (original)
+++ spamassassin/trunk/masses/mass-check Mon Sep 4 07:15:36 2006
@@ -741,6 +741,15 @@
undef $ma; # clean 'em up
undef $status;

+ # uncomment these lines to get a Data::Dumper dump of the Mail::SpamAssassin
+ # module, written to a file after each message is scanned. This is a
+ # great way to find memory leaks...
+ {
+ # use Data::Dumper;
+ # open (D, ">dump.$$.$total_count"); print D Dumper($spamtest); close D;
+ # warn "wrote memory dump: dump.$$.$total_count";
+ }
+
showdots_blip();
# print ">>>> out = $out\n";
return $out;