Community
Participate
Working Groups
Build ID: M20090211-1700 Steps To Reproduce: 1. Type Text into eclipse 2. That's it. 3. No seriously, after about 20 minutes of work, eclipse is using 1.6 gigabytes of RAM at which point it crashes with a java.lang.OutOfMemory error. More information: Using Windows XP. Java Version: "1.6.0_13" Using the Android Developer plugin, but I have found this to be irrelevant through isolated and 100% reproducible tests. All you have to do is type about 10 pages worth of text. Or even faster, just copy and paste a bunch of text, and hold down the delete key while watching the RAM usage skyrocket in Task manager.
Here, I uploaded a video of the easily reproducible step to youtube to make this error occur: http://www.youtube.com/watch?v=hfI2_7UB6II&feature=channel
(In reply to comment #0) > Using the Android Developer plugin, but I have found this to be irrelevant > through isolated and 100% reproducible tests. So does that mean you can reproduce it without the Android plug-in? Can you reproduce with the default Eclipse SDK build? http://download.eclipse.org/eclipse/downloads/drops/R-3.4.2-200902111700/index.php > All you have to do is type about > 10 pages worth of text. Or even faster, just copy and paste a bunch of text, > and hold down the delete key while watching the RAM usage skyrocket in Task > manager. I created a file in Linux with about 6000 lines of text (I don't know if that's ten pages or not) and proceeded to hold the backspace button. I held it for about 20-30 seconds but nothing appeared to have happened. While my heap usage went up a bit it also subsequently performed a garbage collection which made the change in usage moot.
We can't reproduce that here, at least not with the classic eclipse SDK. 2 other things you can do are 1) while chewing up memory, use http://wiki.eclipse.org/index.php/How_to_report_a_deadlock to attach a JVM dump and 2) install http://www.eclipse.org/mat/ the Memory Analyzer and find out what objects are chewing up all of your memory. PW
Please re-open with requested information. PW