On Dec 13, 2013, at 6:12 AM, 黄海涛 <hht...@126.com> wrote: > when virus database(main.cvd & daily.cvd) is loader which consumers 206M > memory, > is there any way to reduce memory, such as by using simplified version of > virus database (Does small virus database exist?) > or by filtering some lowerly-graded sig,or by editing clamav.conf ?
Fixed-pattern matching is fast and requires minimal resources via Boyer-Moore and such, but there isn't a quick-and-easy way to do more complicated regex pattern matching without compiling the patterns into a DFA or similar, which does require a fair amount of memory. However, you can run clamd and have it listen on a network socket so that you can run clamdscan from systems with low memory and have the scanning happen on a machine with more resources. Regards, -- -Chuck _______________________________________________ Help us build a comprehensive ClamAV guide: https://github.com/vrtadmin/clamav-faq http://www.clamav.net/support/ml