IDEA Caton solve the problem (Windows and Mac)

IDEA Caton

Recently IDEA often feel very slow development at the time, scroll up and down or when switching types of documents can clearly feel in a class, I thought it was my project to open too much, after all, memory optimization has been done , but today it is a little annoying card this stuff, and I Nyima, the development of the machine 16 G of memory, open two spring-boot program card into this kind of force? ? ?

Eventually forced to go IDEA checked the startup configuration file, when I see something petrified, the configuration file is the default, not altered. It's that really deserve the card, the maximum amount of memory allocated only to a few hundred megabytes, is not to force it into a card like it? Behind thought for a moment, before I reinstall a new version of the IDEA, have not been to change the configuration file, really deserve it.

In fact, this problem as well as Eclipse and MyEclipse Caton, like, first of all is not large enough memory settings, followed by a number of optional plug-in installed or turned on some real-time monitoring of code checks like the software, usually by modifying this Caton three settings to make the problem go away, but just need a large number of general memory settings on it, even though two other reasons can not be modified, after all, the development machine memory are relatively tough.

Modify vmoptions file

Windows environment

The first is to find IDEA installation directory, and then to the bin directory of the installation directory, find the following two files:

idea.exe.vmoptions
idea64.exe.vmoptions

See you how many systems you should correspond on it, edit the configuration file, as shown below:

512m into the 128m and you want to change on it, I changed respectively 1024m and 2048m, after the card if it is, go down to the big tune, I guess it would no longer card.

Mac environment

On the Mac and Windows is similar, first of all is to open Finder to find applications in this column, after finding IDEA, right click "Show Package Contents", you can find it in the installation directory, and then again after the operation under Windows as a find bin directory, and then find vmoptions profile:

Then open the file for editing (I use sumbline2 editor), the memory transfer what you can, but under the IDEA Mac systems usually do not very card, change or not change the feeling is not very different.

Guess you like

Origin www.cnblogs.com/han-1034683568/p/11515544.html
Recommended