Eclipse crashed @ background indexer

Background Indexer Crash Recovery
java.lang.OutOfMemoryError: Java heap space
at org.eclipse.jdt.internal.compiler.util.HashtableOfObject.<init>(HashtableOfObject.java:39)
at org.eclipse.jdt.internal.compiler.util.HashtableOfObject.rehash(HashtableOfObject.java:139)
at org.eclipse.jdt.internal.compiler.util.HashtableOfObject.put(HashtableOfObject.java:112)
at org.eclipse.jdt.internal.core.index.DiskIndex.copyQueryResults(DiskIndex.java:349)
at org.eclipse.jdt.internal.core.index.DiskIndex.mergeWith(DiskIndex.java:522)
at org.eclipse.jdt.internal.core.index.Index.save(Index.java:191)
at org.eclipse.jdt.internal.core.search.indexing.IndexManager.saveIndex(IndexManager.java:659)
at org.eclipse.jdt.internal.core.search.indexing.AddJarFileToIndex.execute(AddJarFileToIndex.java:204)
at org.eclipse.jdt.internal.core.search.processing.JobManager.run(JobManager.java:401)

at java.lang.Thread.run(Unknown Source)

---------------------------------------------------------------------------------------------------------

solution

 -showsplash 
org.eclipse.platform 
–launcher.XXMaxPermSize 
256M 
-vmargs 
-Xverify:none 
-XX:PermSize=128M 
-XX:MaxPermSize=256M 
-Xms256m 
-Xmx512m 
-XX:+UseParallelGC

你可能感兴趣的:(background)