Satish J
Satish J

Reputation: 7

OutOfMemoryError: how to solve this

When I run eclipse(adt-bundle) I get this error:

!ENTRY org.eclipse.osgi 4 0 2013-05-07 12:29:12.500
!MESSAGE FrameworkEvent ERROR !STACK 0 java.lang.OutOfMemoryError: PermGen space

Even when I changed the RAM size it showed this error.
Is there any solution to overcome this problem?

Upvotes: 0

Views: 93

Answers (1)

Nirav Ranpara
Nirav Ranpara

Reputation: 13785

allow the JVM to use more memory using the -Xmx VM argument.

For instance, to allow the JVM to use 1 GB (1024 MB) of memory:

java -Xmx1024m

Upvotes: 1

Related Questions