I am running SpamBayes Outlook Addin Version 1.1b2 (March 6, 2010) on Windows XP 5.1.2600 (Service Pack 3) using Python 2.5.2 (release25-maint, Feb 23 2008, 14:19:11) [MSC v.1310 32 bit (Intel)] on a system with 1Gb of memory.
When Outlook processes new messages physical memory usage frequently becomes maxed out causing the system to become unresponsive and unusable, when this occurs large files (generally in the neighborhood of 250 megabytes in size) that have spambayes-image in the file name are left in the temp directory. This began occurring about a month ago, I noticed it when I started to receive notices that space was low on my temp disk drive and found that the disk was mostly filled with large files with names ending with spambayes-image.
The log files contain numerous instances of the following lines:
Traceback (most recent call last):
File "addin.pyo", line 377, in _TimerFunc
File "addin.pyo", line 217, in ProcessMessage
File "filter.pyo", line 15, in filter_message
File "manager.pyo", line 816, in score
File "spambayes\classifier.pyo", line 169, in chi2_spamprob
File "spambayes\classifier.pyo", line 471, in _getclues
File "spambayes\tokenizer.pyo", line 1260, in tokenize
File "spambayes\tokenizer.pyo", line 1627, in tokenize_body
File "spambayes\ImageStripper.pyo", line 366, in analyze
File "spambayes\ImageStripper.pyo", line 304, in extract_ocr_info
MemoryError
On another web site I found a message (http://mail.python.org/pipermail/spambayes/2010-April/022773.html) which indicated that it might be possible to edit the Outlook plugin config file to disable image processing, by modifying the value of the x-crack_images line in the Tokenizer section from True to False. The only file that I can find that looks like a config file is: C:\Documents and Settings...\Application Data\SpamBayes\Outlook.ini, however this file does not contain a Tokenizer section nor an x-crack_images line. When I added them they were removed the next time SpamBayes ran. I cannot find any mechanism in the configuration option available via Outlook to disable image processing.
Can you tell me how to prevent SpamBayes from leaving these files in my temp directory?
I have attached a copy of the latest log file.
Some additional information that may be relevant. I have over 700 unread messages in my Outlook inbox, many of which contain images.