Memory leak in -l creation (Was: Bogofilter-0.15.9 - New Current Release)

Chris Wilkes cwilkes-bf at ladro.com
Mon Nov 24 17:00:47 CET 2003


On Mon, Nov 24, 2003 at 08:50:30AM -0500, David Relson wrote:
> On Sun, 23 Nov 2003 21:42:43 -0800
> >  
> > So it appears that the file created with the -l has some sort of
> > lock on the memory, as not creating a new file doesn't cause the
> > memory to dip at all.
> > 
> 
> My bet is that RH9 is caching the wordlist.db-new files in ram. As
> soon as you deleted them, the memory usage dropped because it
> recognized that the data was no longer needed.
> 
> As a test, try using "strings < $i > $i-new" in your script and see
> what happens.

You're right!  Same occurances: memory dips down until the
wordlist.db-new's are deleted.

So my beef is now with RH9.  Perhaps that's where my memory is going --
if anyone has any ideas on this send them to be off-line and I'll
summarize.

Chris




More information about the bogofilter-dev mailing list