Optimize phpstorm running lag problem

(*-*)浩
Release: 2020-01-14 16:21:17
Original
7103 people have browsed it

Optimize phpstorm running lag problem

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

phpstorm.exe.vmoptions
Copy after login

First adjust the memory limit:

-Xms256m
-Xmx2048m
-XX:MaxPermSize=350m
Copy after login

Then set the JAVA virtual machine parameters:

Append the following code:

-Dawt.usesystemAAFontSettings=lcd
-Dawt.java2d.opengl=true
Copy after login

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!

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!