> Now is the point where I am totaly confused. > first I set ulimit -d 10000 so 10MB, then > I set a breakpoint in gdb to the calloc function. > then after it reaches the function i do backtrace do you see how much > memory the program tries to allocate at point #2 ? I have limited memory usage in 0.51. There is something wrong with clamav under FreeBSD - it uses 2x more memory than Linux. Under other OSes it works properly. Must check it. Memory usage after change (tested with updated database):
Linux, Solaris: < 8 Mb FreeBSD: ~15 Mb Best regards, Tomasz Kojm -- oo ..... [EMAIL PROTECTED] (\/)\......... http://www.konarski.edu.pl/~zolw \..........._ I nie zapomnij kliknac w brzuszek... //\ /\\ <- C. Amboinensis www.pajacyk.pl --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]