Even though I am in the process of trying to replace it, Zend Studio 5.5 is still my day-to-day IDE for development. However, on OSX Leopard, it has seemed for a while, like the app was decaying — growing progressively crashier the more I used it. Literally, to the point where I could use it.

I think, however, I have solved the issue.

Simply edit /Applications/Zend/ZendStudio-5.5.1/bin/ and make the following change:

java -Xms16m -Xmx256m -cp com.zend.ide.desktop.Main


/System/Library/Frameworks/JavaVM.framework/Versions/1.5/Home/bin/java -Xms16m -Xmx256m -cp com.zend.ide.desktop.Main

This just explicitly makes it use JVM 1.5, which is, after all, what it was built for.

Once I did this, it became snappy again, and seems to be far less crash-prone, hurrah!

– Davey