I believe that people who are into web development, especially javaweb, or those who are into front-end are familiar with the following two IDEs:
However, a good IDE will definitely require good hardware. Support, and under normal circumstances, the configuration of the machine is not that high. For example, the memory of the author's current computer is only 8G, and the following software needs to be opened when moving bricks daily
Then I found that the computer is weird, the task When I look at the manager, I see that 90%+ of the memory is occupied, which is very embarrassing
My server has not been started yet.
And this 90%+ of the memory is occupied. , 1.5G is occupied by IDEA, and 1.6G is occupied by WebStorm
So I did a little research and found the corresponding solution, which reduced the memory usage of the two IDEs, and I hereby record it;
After turning off the plug-in, the author found that although the memory usage was reduced, the ratio was not very high, so he opened the memory indicator and took a look. The memory usage showed 150 of 750 (IDEA display), and it took less than three seconds. Just one part!!!
Without further ado, open the startup parameter configuration file, the path is ${mainDir}/bin/idea[64].exe.vmoptions.
If the author is using a 64-bit client and the IDEA installation path is E:\IntelliJ IDEA 2016.2.5, then the file path is E:\IntelliJ IDEA 2016.2.5\binidea64.exe.vmoptions < /p>
, appropriately reduce its memory parameters
The author modified the parameters as follows (only the number of modified lines are listed here, do not delete other content):
The same is true for WebStorm