Bug 223360

Summary: [search] Huge error message if OOME while building workspace
Product: [Eclipse Project] JDT Reporter: Benno Baumgartner <benno.baumgartner>
Component: CoreAssignee: Frederic Fusier <frederic_fusier>
Status: VERIFIED FIXED QA Contact:
Severity: minor    
Priority: P3 CC: eric_jodet
Version: 3.4   
Target Milestone: 3.4 M6   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
screen shot
none
Proposed patch none

Description Benno Baumgartner CLA 2008-03-20 11:13:42 EDT
Created attachment 93031 [details]
screen shot

I20080318-0800

I run out of memory while I was building my workspace and the error dialog in the attachment was what I got. It's the message of this exception:

java.lang.OutOfMemoryError: Java heap space
at java.util.Arrays.copyOfRange(Arrays.java:3209)
at java.lang.String.<init>(String.java:216)
at java.lang.StringBuffer.toString(StringBuffer.java:585)
at org.eclipse.jdt.internal.core.search.processing.JobManager$1$ProgressJob.run(JobManager.java:341)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)

Where is this message coming from? Is it the name of the Thread? The name of the job? It's pretty useless, that's for sure...
Comment 1 Frederic Fusier CLA 2008-03-20 12:32:38 EDT
Created attachment 93042 [details]
Proposed patch

Awful error while setting progress monitor sub task name :-(
Comment 2 Frederic Fusier CLA 2008-03-20 12:53:27 EDT
This was introduced while fixing bug 213703.
Released for 3.4M6 in HEAD stream.
Comment 3 Eric Jodet CLA 2008-03-26 04:07:39 EDT
Verified in the code for 3.4M6 using build I20080324-1300