Issues with Idea 8 and 9 on Ubuntu 64-bit

I recently upgraded to Ubuntu Karmic 64 bit, and I've been having nothing but trouble with Idea every since.  I'm currently running on JDK 1.6.0_17 64bit

We use Maven 2.0.9, and I typically import the pom.xml file to create my projects.  In Idea 8 (9952), it was working well.  When I moved to 64 bit, it seems terribly flakey at best.  The project may come up fine at first, but it eventually will "Update Index" and then everything in the editor will go red, like it doesn't know what "String" is.  These are usually seem related to the following errors in the idea.log:

Caused by: java.lang.AssertionError: Trying to find an attribute of deleted page
        ... 32 more
2009-12-11 13:59:37,429 [ 324027]  ERROR - startup.FileSystemSynchronizer - java.lang.RuntimeException: Negative seek offset
java.lang.RuntimeException: java.lang.RuntimeException: Negative seek offset


2009-12-11 13:59:37,452 [ 324050]  ERROR - j.openapi.util.ShutDownTracker - java.lang.IndexOutOfBoundsException
java.lang.RuntimeException: java.lang.IndexOutOfBoundsException

I am trying Idea 9 Community edition now, but it still doesn't recognize all my dependencies from the pom.xml.  It picked up all my JDK libraries ok, but anything outside of that still looks red.

I hope someone can tell me I'm doing something tremendously dumb, because I'm very sad I can't use Intellij as my primary IDE as it's becoming too much of a pain to use now.

Does anyone have any ideas?
Comment actions Permalink

I am sorry to report that I am experiencing similar issues with IDEA-9 (build # idea-IU-93.94). IDEA-9 just feels sluggish and unresponsive even with an 8GB Linux workstation. I had to fall back on IDEA-8 (build # idea-9952) which certainly feels okay to me. At my workplace there are several Mac-OS users (Leopard or Snow Leopard 64 bit) who have had no issues. Some of our projects are fairly large and all of them are Maven based.


  • Ubuntu Linux 9.10 (2.6.31-17-generic #54-Ubuntu SMP Thu Dec 10 17:01:44 UTC 2009 x86_64 GNU/Linux)
  • Gnome desktop with compiz turned off
  • 8 GB RAM
  • IntelliJ IDEA-9 (build # idea-IU-93.94) with 4 projects open in 4 different windows. IDEA-8 works fine though (idea.vmoptions follows: -Xms128m -Xmx512m -XX:MaxPermSize=250m -ea)
  • Sun JDK 1.6 (Java HotSpot(TM) 64-Bit Server VM (build 14.1-b02, mixed mode))

I would love to start using IDEA-9 at the earliest in a 64 bit environment. I had no issues with all the Maia-EA versions under 32-bit Ubuntu Linux, but on this project I have to use 64-bit Linux since I want to be able to use all 8GB. The app that I am working on uses Lucene heavily and is a huge SOAP-based web service.

Thanks in advance to anyone who can provide workarounds.

Comment actions Permalink

Not knowing specifically what causes the performance problems you are experiencing I have three tips to give you.
1. Update your jdk to 1.6.0_18. You seem to be using 1.6.0_15 which is quite old (well, half a year), 1.6.0_18 brings some nice performance enhancements
2. Set -XX:MaxPermSize=500m. On a 64 bit JVM more permanent space is good for performance, especially if you have lots of or all plugins enabled.
3. Use -XX:+UseCompressedOops . This saves memory and increases performance.
Try tip 2 first, 250m is too little perm space for 64bit.


Comment actions Permalink

Thanks very much for your suggestion. It has helped tremendously and I'm back to using IDEA-9 once again. I am managing fine without using -XX:+UseCompressedOops, but have added it to my idea.vmoptions so that will kick in the next time I have to restart IDEA. As well, I tweaked the max heap size and max permgen sizes. The settings I use are as follows:

-Xms128m -Xmx768m -XX:MaxPermSize=512m.

Since I have 8GB RAM, I can afford to have higher max heap and max permgen sizes.


Please sign in to leave a comment.