Home >Development Tools >phpstorm >Optimize phpstorm running lag problem

Optimize phpstorm running lag problem

(*-*)浩
(*-*)浩Original
2020-01-14 16:21:177163browse

Optimize phpstorm running lag problem

Find the JetBrains\PhpStorm 2017.1.4\bin\ directory:                                                               (Recommended learning: phpstorm)

phpstorm.exe.vmoptions

First adjust the memory limit:

-Xms256m
-Xmx2048m
-XX:MaxPermSize=350m

Then set the JAVA virtual machine parameters:

Append the following code:

-Dawt.usesystemAAFontSettings=lcd
-Dawt.java2d.opengl=true

phpstorm is developed using JAVA. Since the IDE provides the source file keyword rendering function, any editing of the file or the movement of the mouse will trigger the rendering operation.

The default JAVA environment of phpstorm does not use the machine's hardware acceleration technology to achieve real-time rendering, so of course the system will freeze.

As long as the system uses hardware acceleration by default in the JAVA environment, the problem of occupying too much system resources and causing phpstorm to freeze can be solved.

The above is the detailed content of Optimize phpstorm running lag problem. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn