Hello all,

For my project (quite a big project), an Android application create, I
need to compile the sources from a command line. So I have followed
the explanations found in the dev guide.
I have set JAVA_HOME to a short directory name, and created the
project with the Android command.

When I compile the project, with "ant debug" as stated in the doc, it
works fine until it reaches the dex creator.

[echo] Convertine compiled files and external libraries into bin/
classes.dex

It seems to work for like 10 seconds, then it stops with this error:

UNEXPECTED TOP-LEVEL ERROR:
java.lang.OutOfMemoryError: Java heap space

OK, after searching on the internet, I have tried to set the heap of
my Java VM, by changing the ANT_OPTS environement variable to:
set ANT_OPTS=-Xms512m -Xmx1024m (I have tried different values).

I still get the same error.

Is it a known bug? Is there something I can to do avoid it?

Thanks in advance for you advices.

Francois

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to