PHPStorm Painfully Slowww….

Oh Yeah,

That went and drove me nuts. I would like to share what worked for me.

I am a Windows user so the instructions you see in this post apply to windows user, but stuff shall be quite similar for Mac/Linux users too.

First thing first start using Java 64 bit to get some instant performance gain. Set your default environment path for java to point to your 64 bit install. Variables such as JAVA_HOME etc I mean.

Second thing is to then start using PHPStorm 64 bit. Where do you find it? Depends where you installed it basically. On my system it is located as shown in the screenshot below

PHPStorm 64 bit executable

 

Third thing, make sure you are on latest version of PHP storm, WebStorm, IntelliJ whatever, all pretty much based on same core code I would assume.

 

Wait wait… one more thing before you double click that file to launch your IDE is to edit that PHPStorm64.exe.vmoptions this file is found in the same location as your phpstorm exe, What is this stuff? Read more about vmoptions tuning on PHPStorm site, basically all properties in this file are meant to tune your Java Virtual Machine so it handles PHPStorm stuff better. I won’t go into much detail on each property and what it means. You can read all that stuff from oracle website. Here is the link

http://www.oracle.com/technetwork/java/javase/tech/vmoptions-jsp-140102.html

But I want to highlight one thing, the settings that made my PHPstorm good enough to work with it again.

Here is my snapshot of vmoptions file

My problem was made worse by font rendering issue that Java has, thus settings

-Dawt.useSystemAAFontSettings=lcd
-Dawt.java2d.opengl=true ;<– we are just enabling Java2D OpenGL Hardware Acceleration here so to speed up

You can also enable xrender setting to see if that helps, here is my updated vmoptions file.

You should tune Java heaps and cache settings depending on your project. Higher values can only make things worse in most cases. Google around to see what heap size and cache size you should set for optimal performance.

Hopefully this sort your issues. But don’t hold back if something else worked for you, share your thoughts if I made a mistake in this write up.

Cheers

 

 

helpful awk command examples when working with Apache access logs

There are some utils that analyze access logs, one of such util is webalizer. But I always believe that getting to know you access log files is more appropriate when you want to do some more in depth analysis on something specific. There are … [Continue reading]

Ace editor cursor position has space between expected position and the current position

capture

Hi, I have used Ace editor a few times in my previous projects. Never did I face this problem before of having my cursor misplaced in my Ace editor. Let me guide you step by step Editor markup Here is a markup where I want my Ace editor to show … [Continue reading]

How to activate or enable color themes in bash scripts or other languages in Nano editor

nano

Bored of looking at that black and white text for a while? You would want to enable or activate color themes in Nano editor which is really easy to do. There are many languages supported for color theming within nano, such … [Continue reading]

W3C CSS3 and W3C HTML5 Badge Logos in SVG

Hi Guys, Here are some couple of logos that may come handy when you need them. Bookmark this page if you like because sometimes things become rather hard to find. CSS3 SVG Logo       HTML5 SVG … [Continue reading]

Online webpage to image conversion with ImgCake.com includes API

Hi Guys, I thought I would inform that there is a new tool available for taking screenshots of webpages called imgcake.com Talking about features there are many Unlimited renders/month High quality renders Custom window and shot … [Continue reading]

CommandLine Convert WMF, EPS etc to SVG using inkscape

Hello, I thought this might be a good tip to share for people who are looking to convert their vector images to SVG format. inkscape is the right tool just for that. Get inkscape from their website https://inkscape.org/en/ for you operating … [Continue reading]

Installing New Comodo Positive SSL Certificate on Apache and OpenSSL on Centos, Fedora and RedHat

positive-ssl

Hello, I had to buy a certificate and install it on my new server I was issued with a new certificate by Comodo under Comodo Positive SSL. To start with I think it doesn't matter which certificate you choose, end of the day they all follow … [Continue reading]

Rackspace Cloud FIles Bulk Delete objects prefixed/* wildcard php sdk

Hi Guys   Rackspace cloud files is an awesome file storage system, We upload a file and can make it publicly available through their CDN. While I use Cloud files in pretty much all my projects at work or personal stuff, one thing that I … [Continue reading]

Australian suburb boundaries database released

Hello Its been a great pleasure for me to release Australian suburb boundaries database, A suburb boundary is represented in a polygon of longitude and latitude points. More details can he found on product page which is located here Product … [Continue reading]