Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Practically every time I run MinGW gcc, my anti-virus program (MS security essentials, specifically msmpeng.exe) goes berserk, and steals 100% of the CPU for several seconds. This is maddening when I'm just compiling a few hundred lines of code, and the actual compile only takes mere milliseconds, once msmpeng decides to stand down.

I've tried adding gcc.exe to the excluded processes in the Settings tab of the Security Essentials interface, and the entire MinGW/bin to the excluded files/locations, but this clearly doesn't convince msmpeng that gcc is harmless. So how is one supposed to grant an executable the right to run w/o incurring msmpeng?

share|improve this question
    
I've noticed that when the compile fails, it fails almost instantly. It's only when the compile succeeds that msmpeng locks up for 10 straight seconds. Suspicion is that it's the appearance of a new .exe file, seemingly from nowhere, that trips msmpeng. –  JustJeff Feb 24 '11 at 1:52
    
question would be offtopic @ Programmers –  Sathya Jul 16 '11 at 12:06
    
@sathya - ok, np. never quite sure the breakdown between SO, programmers, and superuser. –  JustJeff Jul 16 '11 at 13:49
    
SO == programming questions, SU == questions on software & hardware, programmers.. actually I'm not familiar with programmers' manifesto –  Sathya Jul 16 '11 at 13:50
add comment

1 Answer

Perhaps when your code is compiling it writes to a temporary directory, have a look under the real time protection tab in your settings using the mssecs gui. The way I understand it is that MsMpEng is scanning read and written data regardless of what program is trying to write the data. Hope this helps.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.