By default, only the first 64MB of any checked file are stored to the tempfile (bigger files are
considered downloads that will be handled by the file shield). The size can be adjusted in
the configuration file (/Library/Application Support/Avast/config/com.avast.proxy.conf) to
any lower value:
Additionally You can create a RAM disk on your system and and set the proxy to use it instead
of the /tmp directory by setting the global TEMP_DIR option:
TEMP_DIR=/Volumes/ram
Also note that the files in the file system must not be (and usually aren’t) in fact written to the HDD,
the kernel uses some caching mechanisms designed to handle exactly such tempfile scenarios.
can you help us and tell us if there is any plan regarding improvise the proxy engines for not killing/wearing our SSDs ?
thanks in advance,
I really like this feature but it’s not usage as it.
I really dont understand why this could be difficult as other web proxies already have memory caching engines ( even the old but still good Squid Web Proxy).
That’s not a problem, this is the intended behavior. The engine uses the /tmp directory for
extracted files, when scanning archives.
Again, when you are so concerned about temporary files written to your hard disk, then
use a RAM disk for the /tmp directory. This will solve your “problem” with not only Avast
but almost all SW on your Mac. You must be however prepared for some corner cases,
when the temporary files won’t fit into the RAM disk.
You have a fundamental “BUG”. You’e not aware of the specificities of apple devices.
SSD disk have to be treated with the best possible strategy regarding I/O usage.
I’ve choosed to have 8Gbyte of RAM for being able to reduce impact on the SSD ( no swaping).
i’st a shame to find that you use it even for scanning a tiny little files ( some of them only 4kbyte).
Have you ever try to have some analysis regarding this ?
the Memory usage have to be ( i hope you’e ok with this) at application and not thru Users ( even experimented like me) custom configuration involving RAMDisk etc.
I’m there if you need help.
I think this kind of issue can lead a lot of websites ( and i know some guys on a lot of them) to change their review regarding your product.
OK , Avast for Mac is free, but the product have to treat the device with respect and dont kill the SSDs for nothing.
Yes, there are some plans to reduce I/O on exactly those small files, but there will still be
situations that will require temporary files, e.g the archive unpacking.
today the only solution for SSD users like me ( and all the one with MacBook Air / Macbook 2015 / Macbook Pro Retina) is to uninstall Avast for Mac since it’s killing the SSD…
My own 2014 13" 2.8Ghz 512SSD has read over 12.3TB and written over 10TB and the wear levelling count is still 100%, so with this in mind I doubt Avast will be a significant issue.