On Wed, 2005-06-22 at 01:35 -0500, Damian Menscher wrote: > On Wed, 22 Jun 2005, Robert Stampfli wrote: > > > On Linux, with the new ClamAV 0.86, I'm seeing a significant > > jump in the size of clamav-milter (w/o --external) each time > > a new database is loaded. Is there per-chance a memory leak > > in the new code in this area? I did not observe this on > > earlier releases. > > How much memory usage are you seeing? A temporary increase (as much as > double) isn't unexpected, but it should go back down. > > For reference, here's what I see: > > At startup, it uses 9 meg of ram. > > Upon the first database update, ram usage increases to 15 meg. It > doesn't go back down, as I would have expected.
I wouldn't expect it to go back down. free() won't release memory back to the system, just keep it until malloc() requires it. -trog
signature.asc
Description: This is a digitally signed message part
_______________________________________________ http://lurker.clamav.net/list/clamav-users.html
