Hello, I am using the Mail::SpamAssassin v2.20 in a content filter for Stalker Communigate Pro mail server and have some questions.
My filter is basically working like this: my $status; my $body; ... $status = $sa_obj->check_message_text($body); $retval = $status->is_spam(); $status->finish(); ... Where $sa_obj is previously initialized only once in my filter with: $sa_obj = Mail::SpamAssassin->new(); $sa_obj->compile_now(); ... $sa_obj is re-used for every new message that is scanned. Running on Solaris 450mhz sparc system and perl5 (5.0 patchlevel 5 subversion 3), I've noticed from 'top' that the memory usage grows quite steadily. The SIZE and RES values keep growing > 30M. Could there be some sort of memory leak happening? Another issue is I came across one message that is taking 5 minutes for SpamAssassin to scan (I timed it using 'spamassassin -t'). On a Linux AMD system (450mhz) with same Perl version it takes about 1 minute to scan. I am not sure why it is taking so long. I've put this raw mail file here if its useful: http://www.cse.fau.edu/~valankar/41174942.msg.gz Thanks for any help. Viraj. _______________________________________________ Spamassassin-talk mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/spamassassin-talk