I have Xmx set to 1150m (still on 32bit XP :O) and I am regularly getting out of memory errors.
e.g. in the last 2 hours I have 12 idea.log files and 27 instances of java.lang.OutOfMemoryError
At the moment I am editing gradle files, running builds and syncronising the views.
After out of memory IDEA restart and takes ages to index.
How can I find out what is being indexed?
I found these lines in the IDEA log:
2014-11-17 18:16:53,725 [ 19266] INFO - ellij.vfs.persistent.FSRecords - Filesystem storage is corrupted or does not exist. [Re]Building. Reason: Corruption marker file found
2014-11-17 18:20:48,145 [ 253686] INFO - indexing.UnindexedFilesUpdater - Unindexed files update started: 420429 files to update
Does attaching sources cause extra indexing and potential out of memory?