The moose likes IDEs, Version Control and other tools and the fly likes Eclipse no response Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of Practical Unit Testing with TestNG and Mockito this week in the Testing forum!
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Reply Bookmark "Eclipse no response" Watch "Eclipse no response" New topic
Author

Eclipse no response

Jack Lau
Ranch Hand

Joined: Aug 30, 2002
Posts: 163
Hello all,
Does anyone encounter a problem that eclipse does not response when compile a program with ant for many times (~30-40). It will use up a lot of memory. I monitor the memory usage with task manager of windows, it will raise about 1mb when I click compile in Ant view each times.
When the memory usage reach to a point, eclipse will hang and need to restart it.
Does anyone know how to solve this problem ?
Note: My machine is P4 2.4GB with 512mb ram and the program is very small, just one class.
Thanks in advance!
Jack
Jack Lau
Ranch Hand

Joined: Aug 30, 2002
Posts: 163
I use Eclipse 2.1.1 build id: 200.06271545.
Thanks!
Jack
Matthew Phillips
Ranch Hand

Joined: Mar 09, 2001
Posts: 2676
I have the same problem. I believe I read somewhere that this is a known issue with Ant inside Eclipse.


Matthew Phillips
Jack Lau
Ranch Hand

Joined: Aug 30, 2002
Posts: 163
I found a patch in the following eclipse bug listing site, I think it may help.
Use the patch to replace the original ant.jar, the memory usage will not increase continuously and without drop. The memory usage drop obviously at certain point after install the patch.
bugs.eclipse.org
Jack
 
 
subject: Eclipse no response
 
Threads others viewed
About Eclipse
JRE Memory Footprint Bug
Is iAS memory intensive ?
Use of graphs in Profiler
Eclipse 3.4 memory problems, freezing and crashing when editing JSP/JSFs
WebSphere development made easy
without the weight of IBM tools
http://www.myeclipseide.com

cast iron skillet 49er

more from paul wheaton's glorious empire of web junk: cast iron skillet diatomaceous earth rocket mass heater sepp holzer raised garden beds raising chickens lawn care CFL flea control missoula heat permaculture