Today I had a issue with PHPstorm related to memory issue. It was running so slow. At one point it became unresponsive, so i was clicking continuously. Then I was asked to increase memory by increasing the value of xmx.
I increased the memory to 1024MB but still it wasn't running smooth but it was atleast running. I had increased max files to keep open to 50. So, it needed more RAM to keep up with the load, and I got the same message again to increase memory.