Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Antimalware Service Executable slow down IO operations [closed]

I have a java program that write some temporary files in the temp directory. The temp directory is on a SSD. The write operation is normally very fast. But now with some specific sample data it is very, very slow and the CPU of the Antimalware Service Executable is high (30% - 35%). The write speed is approx. 50 KB/s.

If I set a breakpoint on the write loop the CPU of the Antimalware go to 0%. If I continue then the CPU of the Antimalware go to high. I can repeat this multiple time.

It look like the Antimalware is scanning my temporary data intensively. Why occur this and how can I prevent this?

like image 655
Horcrux7 Avatar asked Jun 29 '16 08:06

Horcrux7


1 Answers

To prevent scanning you can exclude files from being scanned by file name, directory name, file extension of the associated process. To do so, open “Windows Security Essential” or “Windows defender” (type it in the Start Menu). Then go to Settings -> Excluded files and locations.

like image 108
jbialobr Avatar answered Sep 27 '22 21:09

jbialobr