Java heap space error. Android Eclipse IDE



I keep getting the error "Java Heap Space" in my Eclipse IDE. After which Eclipse crashes and all unsaved data is lost.


Error Screen


It is happening on some particular layout XMLs only, right after I alter any property in it. Especially the ones with GridViews, listviews and tableviews. Also only in graphical layout mode not in XML mode.


This is one of the XML:


XML


I also checked the task manager during the time the change is made. And at that point my CPU usage increases from 32% to 74%. Sometimes even in the 90s. My idle (when eclipse is not running) Memory usage is 2.01GB and during Eclipse operations it increases to 3.5GB. enter image description here


The computer's configuration is: enter image description here


From what I figured I believe the problem is that my RAM is inadequate. But I want to be sure before I upgrade the RAM. Am I right?


FYI: I have tried the solutions posted on other posts. For example, the "Run Configuration " ( I cannot seem to find what they are talking about" and the "Turning off Lint" ( This is not acceptable to me as I need the Lint ).


No comments:

Post a Comment