avast! really unpacks some archives directly to memory and scans them this way - but enough free physical memory must be available.