Poor responsiveness/performance

Hey,
To those of you that are using Intellij IDEA as their scala development environment, do you have any tips regarding making it more responsive?
I have Intellij IDEA Community Edition 10 and 4G of RAM but it still feels sluggish, even noticeably more so than Eclipse... is this normal?

After googling around a bit I made some modifications to idea.vmoptions as follows (but it hasn't really helped much):

-Dsun.java2d.pmoffscreen=false
-XX:+UseConcMarkSweepGC
-Xms512m
-Xmx1024m
-XX:MaxPermSize=250m
-ea


I've now disabled IntelliLang as I heard it had performance issues when used with the Scala plugin... but it made no significant difference either.

In general editing is the biggest problem and it occurs on every project I have created, all of which were small "play" projects.
For example, the simple action of creating a new class by right-clicking on a package can take 1 second before a drop-down is displayed.

Also, I tried adding the following line to my idea.vmoptions file:


-agentlib:yjpagent=disablej2ee,disablecounts,disablealloc,sessionname=IntelliJIdea10


But... I get the following error (so I can't do a CPU snapshot at this stage):

Java HotSpot(TM) 64-Bit Server VM (build 17.1-b03, mixed mode)
Error occurred during initialization of VM
Could not find agent library on the library path or in the local directory: yjpagent


/docs/DOC-192;jsessionid=2695633104168ABE719A02750CCC5CC5 yjpagent was bundled with IDEA 10, so I'm not sure what's wrong here. Do I need to configure some property file first?

Any and all help greatly appreciated!

Regards,
Alex


---
Original message URL: http://devnet.jetbrains.net/message/5282841#5282841

Please sign in to leave a comment.