On Tuesday 14 Sep 2004 11:04, Fajar A. Nugraha wrote: > Nigel Horne wrote: > > >On Tuesday 14 Sep 2004 06:30, Meni Shapiro wrote: > > > > > >>Hi Fajar, > >>Thanks for you answer. It's the most usefull i got 'till today. > >>I will take a look at the tools you suguested... > >>The leak is from clamd...i checked 'top' and saw how it swallows all > >>avialble memory until it is killed by kernel. > >> > >> > > > >That is not evidence of a memory leak. It is evidence of as lot of memory > >being used at runtime which is a very different thing. > > > > > > > BTW, what IS the evidence of memory leak? A malloc with no corresponding free.
> Would you call memory usage of 128MB leak? Not necessarily. > Would you call clamd memory usage of 3GB leak? Not necessaily. > Is there anumber which says "x amount of memory used by clamd is normal" ? Amount of memory used has nothing to do with memory leaks. A memory leak can be of 1 byte. If I malloc 3Gb and then free it, no leak has occured, but on some systems a "ps" will show that 3Gb is in use. > Though I probably should rephrase my statements from now, and no longer > use the phrase "memory leak" but "high memory usage" instead. That is different. High memory usage != memory leak You will notice a reduction in the development version compared with the current release. If you want to help to test please download from http://www.clamav.net. Note, I am not saying there is no memory leak. I am saying that I am yet to see evidence of one or to be sent any data that produces on. > Regards, > > Fajar -Nigel -- Nigel Horne. Arranger, Composer, Typesetter. NJH Music, Barnsley, UK. ICQ#20252325 [EMAIL PROTECTED] http://www.bandsman.co.uk ------------------------------------------------------- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php _______________________________________________ Clamav-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/clamav-users