Java – antimalware service executable slows down IO operations
I have a java program that writes some temporary files in the temporary directory The temporary directory is located on the SSD Write operations are usually very fast But now there are some specific sample data, which is very, very slow, and the CPU of the anti malware service executable is very high (30% - 35%) The write speed is approximately 50 KB / s.
If I set a breakpoint on the write loop, the anti malware CPU will become 0% If I continue, the anti malware CPU will be higher I can repeat this many times
It seems that antimalware is intensively scanning my temporary data Why and how can I prevent this?
Solution
To prevent scanning, you can exclude files by file name, directory name and file extension of associated process To do this, open windows security essential or Windows Defender (type it in the start menu) Then go to settings – > excluded files and locations