There is the file /Applications/dev/IntelliJ\ IDEA\ 9.0\ Beta.app/Contents/Info.plist which lets you set a couple of options (I've attached my version). Some options are obvious but some options are a bit tricky. I doubt if the default values are optimized because -Xmx256m is definitely not enough! So I want to discuss the best values for an agile development.
<string>-d64 -client -Xms128m -Xmx512m -XX:MaxPermSize=256m -ea -Xbootclasspath/a:../lib/boot.jar</string>
The -client flag has no effect and -d64 is also redundant but what is about the other values I've chosen?
I have SL running the x86_64 kernel (not the default i386!) so my IDE runs also as a pure 64 bit app using JDK 6.
A little bit tricky is the question wether to use Sun2D renderer (false) or Apple’s Quartz graphics engine (true) which generates (a not recognizable) prettier output but is also slower(?) compared to Sun's JDK6 2D renderer.