have you looked at http://wiki.apache.org/spamassassin/OutOfMemoryProblems ? note especially the 'Heavyweight custom rules' section.
--j. Evan Platt writes: > Ok, I've googled and obviously I'm not finding the right solution.. > But had to reinstall spamassassin on my os/x 10.4 box. > > Followed http://developer.apple.com/server/fighting_spam.html . > > But, my system is running out of memory, and it looks like Perl / > spamassassin is the cause . I've omitted everything but the Perl and > Spamassassin related entries: > > Load Avg: 1.97, 1.36, 0.78 CPU usage: 84.4% user, 15.6% sys, 0.0% idle > SharedLibs: num = 106, resident = 3.54M code, 364K data, 780K LinkEdit > MemRegions: num = 4984, resident = 217M + 1.37M private, 236M shared > PhysMem: 44.7M wired, 307M active, 153M inactive, 506M used, 5.54M free > VM: 4.00G + 79.0M 50554(137) pageins, 65232(79) pageouts > > PID COMMAND %CPU TIME #TH #PRTS #MREGS RPRVT RSHRD RSIZE VSIZE > 448 spamc 0.0% 0:00.00 1 15 18 128K 268K- 396K 27.7M > 447 procmail 0.0% 0:00.00 1 8 16 8K- 364K- 176K 26.7M > 445 procmail 0.0% 0:00.02 1 15 16 8K- 364K- 412K 26.7M > 416 perl 35.1% 0:10.60 1 10 391 30.4M 233M- 94.2M 391M > 394 spamc 0.0% 0:00.00 1 15 18 88K 268K- 356K 27.7M > 393 procmail 0.0% 0:00.00 1 8 16 8K 316K- 172K 26.7M > 391 procmail 0.0% 0:00.02 1 15 16 8K 316K- 364K 26.7M > 378 perl 10.1% 0:48.50 1 10 388 150M+ 207M- 217M+ 391M > 377 perl 44.7% 1:18.63 1 10 388 26.3M 233M- 72.8M 391M > 271 perl 0.0% 0:00.12 1 10 43 1.93M 284K 1.07M 29.1M > 65 perl 0.0% 3:41.24 1 15 387 1.43M- 233M- 56.9M- 391M > > > So what did I do wrong that's causing a Perl process to take up 391 megs? > > Obviously, I'm only guessing it's spamassassin related, but that's > the only thing I can think of using perl. And I see a few google > reference to spamassassin and perl. > > > Any other information I can provide, please let me know. > > > Thanks. > > Evan