Windows Defender might be impacting your build performance

After I updated my PyCharm IDE to 19.2.0 from the 19.1.2. I am getting the following warning:

"Windows Defender might be impacting your build performance. PyCharm checked 
thefollowing directories:
C:\Workspace\Projects\576_UniversityTwitter 
C:\Users\Burak\.PyCharmCE2019.2\system 
C:\Users\Burak\.gradle

Do you think that it is secure, necessary and really improve the performance?


Solution 1:

You need to exclude those directories in your Windows Security's Exclusion list.

  1. Type Windows Security in your windows Search bar
  2. Click Virus & threat protection
  3. Under Virus & threat protection settings header, click Manage Settings
  4. Under Exclusions header, click Add or remove exclusions
  5. Click Add an exclusion
  6. Select type Folder
  7. Enter the directory
  8. You are done

Yes it is secure, necessary and really improves the performance as the real-time scanning is enabled in Windows defender by default. Read this: Minimize the impact of antivirus software on build speed.

Solution 2:

I faced the same problem with Android Studio which is from same company after the recent update. So what you can do is you will get the directory which is causing this error. Like You will get the directories here

Then you need to go to Windows Defender and add these folders to the exclusion in Windows Defender or the antivirus you are using.

Solution 3:

I did the above steps with adding exceptions to the defender, but the message in the WebStorm application did not want to disappear.

Running the WebStorm application as administrator helped me.