When you check scanning inside of archives, avast! unpacks their content. If enough memory is available, it's unpacked to memory (otherwise, to the temp folder). So, I think it really can be the cause.
If you have these archives in one folder, I suggest to put this folder into the list of avast! exclusions (so that avast! won't scan them).