Solve Phpstorm run very card problem!

Source: Internet
Author: User
Recently, when using the Phpstorm development project, just load the JavaScript file, no matter how big, if the project file data 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.usesystemaaf-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.

Note:

The technology used by the project is: Yii2 + extjs 6.0.1 + MySQL

The above is introduced to solve the problem of Phpstorm running very card! , including the content of the phpstorm, I hope to be interested in PHP tutorial friends helpful.

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