0
votes

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.

1
you have to set those jvm parameters in the launch configuration for you app, not in the eclipse.ini fileguido
Does it leave its stack trace in your Logcat?PM 77-1

1 Answers

0
votes

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.