Bug 199954 - Out of memory error after refresh when class files have been overwritten
Summary: Out of memory error after refresh when class files have been overwritten
Status: VERIFIED INVALID
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.4   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.4 M2   Edit
Assignee: JDT-Core-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-08-14 16:26 EDT by moritz CLA
Modified: 2007-09-17 08:36 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description moritz CLA 2007-08-14 16:26:24 EDT
Build ID:  I20070608-1718

Steps To Reproduce:
1. Refresh the project and compile all of the project.
2. Use an Ant task to compile the project pointing the Ant class files to the same directory that the Eclipse project's class files are located in.
3. Refresh the Eclipse project and recompile the project within Eclipse (using the Build Automatically option set).
4. Eclipse will max out the CPU and eventually issue an out of memory error, present error dialog(s) and request to be restarted.


More information:
1. I have Rational ClearCase SCM Adapter 7.0.0.20061206A enabled.
2. I have JProfiler Integration 5.0.0 plugin enabled.
3. I have QuickREx3.2.1 plugin enabled.
4. I have XPath-Developer 1.0.1 plugin enabled.
5. I have JFormDesigner 3.0.4 plugin enabled.
6. I have AspectJ Development Tools (AJDT) 1.5.0.200706070619 disabled.
7. This is the contents of my eclipse.ini file:
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
-vmargs
-Xms40m
-Xmx256m
Comment 1 Frederic Fusier CLA 2007-08-15 06:33:04 EDT
This is not a bug, you simply haven't specified enough Heap Size for your VM while starting eclipse...

With all the additional plugins you related in your description, I'd advice to increase the -Xmx VM parameter at least to 512M.

See the "Workbench User Guide > Tasks > Running Eclipse" Help page describing how to resolve this kind of issue.

Close as INVALID
Comment 2 Maxime Daniel CLA 2007-09-17 08:36:38 EDT
Verified for 3.4 M2 using build I20070917-0010.