clamav-devel December 2011 archive
Main Archive Page > Month Archives  > clamav-devel archives
clamav-devel: Re: [Clamav-devel] scanning large zip files ->

Re: [Clamav-devel] scanning large zip files -> file loaded entirely into (RSS) memory during extraction?

From: aCaB <acabng_at_nospam>
Date: Mon Dec 12 2011 - 21:19:29 GMT
To: ClamAV Development <clamav-devel@lists.clamav.net>

On 12/12/11 21:31, Bram wrote:
> * a zip file which contains 4 files of 100 MB.
> * max-filesize set to 1GB
> * max-scansize set to 4GB

> What is the expected value of the RSS during the scan?

About MIN(zip_size(100MB), 1GB, 4GB), where zip_size() is the size of
the compressed stream.

Hope it's clear now.

Cheers,
--aCaB
_______________________________________________
http://lurker.clamav.net/list/clamav-devel.html
Please submit your patches to our Bugzilla: http://bugs.clamav.net