I previously posted about this problem here and made a bug report here. I think I found out some new information so hopefully it will help.
First the specs:
Ubuntu 9.10 x86_64
java version "1.6.0_18"
Java(TM) SE Runtime Environment (build 1.6.0_18-b07)
Java HotSpot(TM) 64-Bit Server VM (build 16.0-b13, mixed mode)
I realize that Xmx is a bit high, but even with that, it said it ran out of heap space.
The errors I was getting in the console were these ones:
Caused by: java.io.IOException: Negative seek offset
at java.io.RandomAccessFile.seek(Native Method)
com.intellij.util.indexing.StorageException: java.lang.RuntimeException: java.lang.IndexOutOfBoundsException
So I was looking around at the .IdeaIC90 directory and decided to list the files present by file size...these are the top 4:
0 -rw-r--r-- 1 ronnie ronnie 207769926 2010-03-17 13:49 records.dat
0 -rw-r--r-- 1 ronnie ronnie 501547008 2010-03-17 13:52 content.dat.storageRecordIndex
0 -rw-r--r-- 1 ronnie ronnie 904242400 2010-03-17 13:51 content.dat.storageData
0 -rw-r--r-- 1 ronnie ronnie 2044025568 2010-03-17 13:51 attrib.dat.storageRecordIndex
I understand that these are sparse files, but the last file is what bothered me. Being that it is over 2GB large, it would seem to perhaps be why I get errors about a negative seek offset, since the value used to seek is a signed int. (Altho I am not an expert on Java's file i/o or anything like that).
Could this possibly be the problem? Is the project I'm using to large to open with Idea? What would cause such a large file size in one of the indexes?
I hope you can answer my question. I've been using netbeans for the past month, and it's not quite up to the standards of Idea. Thanks!