I'm running ADT 21.0.0.v201210310015-519525 on eclipse 4.2.1 and each time I start working on graphical layout eclipse slowly starts to get unresponsive. After opening ~5 files like this it is practically unusable and need to restart.
Anyone else got these issues?
I've set my .ini in eclipse to increased memory and java 1.6 like mentioned in some solutions but problem still persists.
-Dosgi.requiredJavaVersion = 1.6
-Xms128m
-Xmx1024m
I had this problem and I had to upgrade both eclipse and ADT to the nightly build, as it addressed this problem
Actually, this problem occurs when you try to load the very heavy layout in eclipse. by heavy layout I mean, if you are trying to load the heavy graphics in layout OR if you are trying to use custom control in your layout.
When you try to open your layout (visually) in eclipse it actually tries to compile and run the custom control classes and try to render the view.
as eclipse is having very less heap size this crashing issues occurs. I advice you to check this type of layout into emulator OR device rather then testing it on Eclipse i.e. just avoid loading of this type of layout and try to work in XML and run it in emulator.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With