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 <>

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.

Please submit your patches to our Bugzilla: