PHP editor Phpstrom slow running problem

Source: Internet
Author: User
Tags php editor

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:

    1. Locate the Phpstorm.vmoptions file, and open it using Notepad.

    2. Add the following two lines of code:

-dawt.usesystemaafontsettings=lcd

-dawt.java2d.opengl=True

    1. 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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.