>> At startup, clamav-milter memory usage is approx. 11m resident and 30m
>> virtual. But when freshclam loads a new database, memory jumps to 20m
>> resident and 40m virtual.

> I am seeing the same behaviour on clamd cross-compiled for ARM/Xscale. I
> think this is caused by a great deal of memory fragmentation due to
> allocating lots of small chunks (down to 1 byte).

Clamd?  Or did you mean clamav-milter?

Here, using clamav-milter --external and clamd seems to eliminate the
memory increase.  So the problem must be something in clamav-milter.

For efficiency, I like running clamav-milter with its internal scan
using libclamav.  Maybe I could fix the memory problem if I had the
time.  Unfortunately, I don't.


_______________________________________________
http://lurker.clamav.net/list/clamav-devel.html

Reply via email to