Recently when using the Phpstorm development project, when the load file runs, no matter how big, if the project file data is more, can let Phpstorm card to the panic. Which adjusted the memory settings, turned off the dynamic prompt, the use of Phpstorm security mode, can not solve the card problem. In the middle also tried to abandon Phpstorm, switch to other IDE development. But there is no phpstorm so good. No way, in the domestic Baidu can not find a solution, can only go out to find.
Finally, in a foreign forum, see a different answer. As long as the two Java Virtual machine parameters are modified, the problem of the card is completely solved.
The procedure is as follows:
Locate the Phpstorm.vmoptions file, and open it using Notepad.
Add the following two lines of code:
-dawt.usesystemaafontsettings=lcd
-dawt.java2d.opengl=True
Save exit.
Thinking:
Phpstorm is developed using Java. Because the IDE provides the source file keyword rendering capability, any editing or moving of the mouse to the file will trigger the rendering operation. The Phpstorm default Java environment does not use the hardware acceleration technology of the machine to achieve real-time rendering, so the system will certainly get stuck. And as long as in the Java environment to let the system by default hardware acceleration, you can solve the occupation of the system resources too large, let Phpstorm card problem.
Now you can use the familiar environment back to Phpstorm.
PHP editor Phpstrom slow running problem