You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@spamassassin.apache.org by bu...@bugzilla.spamassassin.org on 2004/01/30 05:08:22 UTC

[Bug 2985] mass-check should use less memory

http://bugzilla.spamassassin.org/show_bug.cgi?id=2985





------- Additional Comments From jm@jmason.org  2004-01-29 19:13 -------
'I had the idea of using temporary files instead of memory, to hold the list of
messages to work on.  I got about halfway through (so the actual list of
messages was in the temp file), and then realized that I'd also have to get the
initial read-in to goto a temp file.  (what happens is that we get the list of
ham, and the list of spam, then we go through and sort/etc into the final list ...)'

suggestion: use fork at startup, do the file search, sort, write the tmp file,
exit that process.  that means the file-list overhead is effectively 0 in the
master process.



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.