I recently upgraded from PhpStorm 6 to PhpStorm 7. Delighted to see all the improvements, but it runs awfully slow on my low-powered netbook. The delay between typing and se
Add these to your phpstorm.exe.vmoptions
or phpstorm64.exe.vmoptions
file, at the bottom:
-Dawt.useSystemAAFontSettings=lcd
-Dawt.java2d.opengl=true
Solid speedup to the point that the editor is now actually usable.
I will for the life of me just never understand why people create editors in Java.
It is possible that it will help to increase the maximum memory allocation for PhpStorm beyond its default.
For mine, it was capped at 2GB. I know you asked about a windows machine, but for mac users reading this, you can change this by opening PhpStorm without opening a project. Then hit Configure > Edit Custom Properties and change the xmx value to a higher limit.
OUTDATED IF YOU USE A VERSION MORE RECENT THAN 2017.1 :
The most effective way to speed up new phpstorm version is an experimental feature that is going to be shipped by default in phpstorm 2017.1. Until that you can activate it on jetbrains products (webstorm, phpstorm etc.)
Click on Help
=> Edit custom properties
Add editor.zero.latency.typing=true
Close and open again the application.
For me the change typing is not laggy anymore. Other tricks didn't helped me or not in a noticeable way.
In my case, PhpStorm wasn't slow at all - a bug in my monitor driver introduced severe lag, and it just happened that I dedicated that monitor to PhpStorm. If you've read this far, try PhpStorm on a different monitor, it would've saved me a lot of time.
If you need to speed up PhpStorm right away, turn on Power Save mode. (File > Power Save Mode or using "Hector the Inspector" icon in the IDE status bar). This mode turns off on-the-fly code inspections This way you can finish what you have started, and later decide what code inspections to deactivate.
Edit 2017: You may first want to try experimenting with allocating PhpStorm some more RAM if available. Do this by
Help -> Edit Custom VM Options
-Xms
and -Xmx
to be something reasonable for your hardware. I have -Xms512m
and -Xmx2048m
on an 8GB RAM laptop.File -> Settings
and search for and enable show memory indicator
.Original answer: I made some changes to increase the responsiveness of the IDE. I'm sure there are more things one could do, but I found these to improve the performance to well within usable margins. From most effective to least:
These changes brought down both the startup time and significantly increased responsiveness of the IDE in general.