When I run my Android app in Eclipse Juno it shows:
An internal error occurred during: "Launching ". Java heap space".
I have modified my eclipse.ini
file with
Xms:1024m
Xmx:1024m
Unfortunately this did not solve the problem.
When I run my Android app in Eclipse Juno it shows:
An internal error occurred during: "Launching ". Java heap space".
I have modified my eclipse.ini
file with
Xms:1024m
Xmx:1024m
Unfortunately this did not solve the problem.
It's likely that OutOfMemoryError
occurs not in Eclipse, but in the spawned JVM where your application works. You should modify parameters in your run configuration. Go to Run -> Run Configurations, find your application run configuration in the left pane and select it. On the right pane select "Arguments" tab, there should be "VM arguments" test field. Add there -Xmx1024m
.