editor slow IntelliJ IDEA ver. 8.0.1 OS X

There is no doubt that IntelliJ Idea is excellent (the best) Java IDE, but only one thing make me completely crazy,
and that is extremely slow editor in ver. 8

When typing (any type of source code, java, xml, vm ..) sometime it takes few seconds for getting response.
Also the same happens for Ctrl + N for getting dialog box for generating Getters & Setters ...

The environment is:
IDEA ver. 8.0.1 - evaluation copy
Mac OS X (leopard)
Java 1.5
Intel Core Due + 2 GB RAM

Also I have problem to find configuration files for IDEA, there is noting in Applications/IntelliJ foleder beside IntelliJ IDEA 8.app file,
and also noting at all in Applications Support directory.

I have seen that the java configuration is stored in info.plist file that should  be located in Applications/IntelliJ/Conntent folder, but
I am not able to fine any thing lake that in all my disk.

Any suggestion how to make idea editor more quicker, and where to find configuration files in OS X?

Also, what is very strange,  I have no problem regarding performance for compiling and re factoring our pretty large project,

Thanks

Marino

8 comments
Comment actions Permalink

If you right-click the IntelliJ.app in your Applications directory and choose "Show Package Contents" from the resulting popup menu, this is what you should see:

AppContents.png

Also, you'll find the preference files for IntelliJ 8 in ~/Library/Preferences/IntelliJIDEA80.

As for your performance issue, if your project is very large, perhaps you just need to allocate more memory for IntelliJ (which is achiveved by editing the Info.plist file)

0
Comment actions Permalink

Paul,

Thanks' a lot, now I will tray to change VMOptions as suggested in this forum before, and will be back with the results.

0
Comment actions Permalink

For me IDEA best works with this values provided in /Applications/IntelliJ IDEA 8.0.1.app/Contents/Info.plist

-Xms512m -Xmx1024m -XX:MaxPermSize=812m

Now it's really fast.

0
Comment actions Permalink

I'm afraid that all I can say is "me too".  I have a new macbook, it's nothing fancy, but it's faster then my old Windows laptop.  That is for everything except IntelliJ.  I've tried 8.0, 8.01, EAP 9678 and none of them seem to make much difference, it just plain slow.

FYI I'm using "-Xms256m -Xmx768m -XX:MaxPermSize=512m" on a 4Gb machine, and it's far far slower than it was on a 2Gb Windows laptop.

Screen scrolling is slower, key responsiveness is much slower, paging up and down the screen is slower.  Pulling up the File/Settings can take 6 seconds between click and display, it's instantaneous (or close enough) on every other machine I've used.  My build times are fine, and my command line java builds are actually faster than on my desktop, so I know that the hardware isn't generally too slow.  Likewise the graphics card is fairly decent.  I don't get it, no other app seems to show the same lousy performance, but then again, no other app is Swing based.

I'd love some pointers, I can throw more memory at it and see if that makes any difference, but honestly raising it so far hasn't really made much difference other than make the inevitable GC runs take longer.  I've tried switching to the 1.6 JVM, but it didn't seem to make much difference, it might have been a touch faster, but that might also have been wishful thinking.

Any suggestions?

Guy

0
Comment actions Permalink

Hello Guy,

The suggestion is the same as always. Please take a CPU snapshot, as described
in http://jetbrains.net/devnet/docs/DOC-192, and file a JIRA issue with the
snapshot attached. We'll be able to look at it and see exactly what's causing
the slowness.

I'm afraid that all I can say is "me too". I have a new macbook, it's
nothing fancy, but it's faster then my old Windows laptop. That is
for everything except IntelliJ. I've tried 8.0, 8.01, EAP 9678 and
none of them seem to make much difference, it just plain slow.

FYI I'm using "-Xms256m -Xmx768m -XX:MaxPermSize=512m" on a 4Gb
machine, and it's far far slower than it was on a 2Gb Windows laptop.

Screen scrolling is slower, key responsiveness is much slower, paging
up and down the screen is slower. Pulling up the File/Settings can
take 6 seconds between click and display, it's instantaneous (or close
enough) on every other machine I've used. My build times are fine,
and my command line jav

a builds are actually faster than on my desktop, so I know that the
hardware isn't generally too slow. Likewise the graphics card is
fairly decent. I don't get it, no other app seems to show the same
lousy performance, but then again, no other app is Swing based.

I'd love some pointers, I can throw more memory at it and see if that
makes any difference, but honestly raising it so far hasn't really
made much difference other than make the inevitable GC runs take
longer. I've tried switching to the 1.6 JVM, but it didn't seem to
make much difference, it might
have been a touch faster, but that might also have been wishful
thinking.
Any suggestions?

Guy

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

--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"


0
Comment actions Permalink

Correct link to the CPU shapshot instructions:

http://jetbrains.net/devnet/docs/DOC-192

(just remove the trailing ',' from Dmitry's link)

0
Comment actions Permalink

IDEA really works faster on the Java 5 32-bit VM. But I found an issue on my MacBook (2ghz Code2Duo/4GB RAM).
I have these settings:
<key>JVMVersion</key>
<string>1.5*</string>
<key>JVMArchs</key>
<string>x86_32</string>
But my IDEA was still using 64-bit Java 5. The solution in my case is to change Java version in the System Preferences -> Java Preferences for "Java version for applications" to:
Java 5 32-bit (at first place!)
Java 6... and so on

When I had:
Java 6 64-bit
Java 5 64-bit
Java 5 32-bit
IDEA still runs with the 64-bit Java 5 VM, even with x86_32 option in the Info.plist file! I think you shoudl describe this in some place because after changing this to "really" Java 5 32-bit my IDEA is so faster.



0

Please sign in to leave a comment.