ADT or Eclipse with ADT plugin crashes with out of memory error

Android Developer Tools or Eclipse loading ADT plugin may crash with Out of memory exception. Sometimes ADT or Eclipse may also crash while loading any activity layout xml with the errors shown in below images.
PermGen Space errors


Out of memory error


This may happen because you might be having older version of Java SDK installed. Installing the latest version of JDK like 6 or 7 should resolve these errors.

No comments:

Post a Comment

Golang: Http POST Request with JSON Body example

Go standard library comes with "net/http" package which has excellent support for HTTP Client and Server.   In order to post JSON ...