Skip to content Skip to sidebar Skip to footer

Eclipse "java Heap Space" Error, Eclipse Not Responding

If i try to edit one of my layout.xml, Eclipse is getting slower and slower, and after about 1 minute it blows me 5-6 lines of 'Java heap space' error message, nothing more just t

Solution 1:

I turned off Lint and problem solved. If you have this kind of problem always turn off Lint.

Solution 2:

Something in the layout is trying to manipulate a large amount of data and the processing of it forces the JVM to run out of heap. Is there any transformation or XSLT being used? Does the schema allow for infinite nesting of child nodes of a tag?

Check the layout for either some form of recursion, or any other type of infinite expansion.

Try posting a separate question with the title, "What would cause this XML to use up memory?" and include the XML code for the layout. You could do that here but it would be cleaner to add a new question.

Solution 3:

i had this same issue some minute ago, but what i did was i change the image i was about to use cos the property was too large. so try and you another image and you will be able to see you work without touching any any setting

Post a Comment for "Eclipse "java Heap Space" Error, Eclipse Not Responding"