Bug 223360 - [search] Huge error message if OOME while building workspace
Summary: [search] Huge error message if OOME while building workspace
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.4   Edit
Hardware: PC Windows XP
: P3 minor (vote)
Target Milestone: 3.4 M6   Edit
Assignee: Frederic Fusier CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-03-20 11:13 EDT by Benno Baumgartner CLA
Modified: 2008-03-26 04:07 EDT (History)
1 user (show)

See Also:


Attachments
screen shot (63.95 KB, image/png)
2008-03-20 11:13 EDT, Benno Baumgartner CLA
no flags Details
Proposed patch (1.11 KB, patch)
2008-03-20 12:32 EDT, Frederic Fusier CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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