title: Why does intellij warn 'The IDE is running low on memory and this might affect performance'?
body: <p>I am using IntelliJ idea for my development tasks. Usually, I have one window opened for my organization's project which is a multi-module project. I also need to open some windows for test projects. Basically, one or two only usually.</p>
  <p>At some times, I have my organizations' multi-module project window and 5-6 other IntelliJ project windows open. I do not get any memory related warning, nor do the IDE hangs. But, at sometimes, the IDE gives the low memory warning and hangs in between mouse clicks when I have only 2,3 windows opened.</p>
  <p><a href="https://i.stack.imgur.com/tFNuf.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/tFNuf.png" alt="enter image description here" /></a></p>
  <p>This is my current IDE memory utilization. 519 MB is free but the IDE is already hanging.
  I want to know if there is something like internal cache which needs to be cleared so it does not hang because this behavior is pretty random. At times, when I have 5,6 windows opened, it doesn't hang and at times when I have 3, it hangs.</p>
  <p>Please note that there is nothing extra load that I am running from my IDE like I have no application running inside the IDE, no processes. I am just using IDE to develop and build my projects.</p>
  <p><strong>My IntelliJ IDEA version:  Ultimate 2020.3</strong></p>