Bug 80118

Summary: [search] OutOfMemoryError while searching for Test class
Product: [Eclipse Project] JDT Reporter: Kevin Barnes <cocoakevin>
Component: CoreAssignee: Frederic Fusier <frederic_fusier>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: mefoster, Mike_Wilson
Version: 3.1Keywords: performance
Target Milestone: 3.1 RC1   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Kevin Barnes CLA 2004-12-03 11:26:38 EST
Launched Eclipse (did not set -Xmx)
imported org.eclipse.jdt.debug.tests and org.eclipse.test.performance plugins
created new JUnit Plug-in Test Launch Config
Selected jdt.debug.tests as project
clicked search to choose Test class. 

-> Out of Memory Error
Comment 1 Kevin Barnes CLA 2004-12-03 11:28:36 EST
also should mention:
Running jdk1.4.2_05, on WIN XP
build I200412011139
Comment 2 Frederic Fusier CLA 2005-03-14 16:47:42 EST
*** Bug 83597 has been marked as a duplicate of this bug. ***
Comment 3 Frederic Fusier CLA 2005-03-14 16:50:25 EST
If time permit as there's a simple workaround: increase VM heap size...
Comment 4 Mike Wilson CLA 2005-04-25 13:27:51 EDT
Now the Eclipse executable sets Xmx by default, we should re-test this scenario. Note that even if it 
works now, it's still not clear that we should be using that much memory for searching.
Comment 5 Frederic Fusier CLA 2005-05-16 05:40:32 EDT
Does no longer happen with 3.1 M7. I was able to search for all test classes and
run one of them without any OOME...
Closed as FIXED and set target to 3.1 RC1 to verify it...
Comment 6 Olivier Thomann CLA 2005-05-26 22:03:42 EDT
Verified with I20050526-2000 by removing all -vmargs from eclipse.ini.