actionscript 3 - Java heap space,AIR 18 -


i working on ios application, using flashdevelop , air sdk version 18. got java heap space error while compiling project.

here have tried:

  1. modify jvm.config - have not tried this, because there not such file in air sdk.

  2. modify adt.bat file -xms1024 -xmx1024 - tried not working

  3. modify mxmlc.bat, adt.bat - not working

any solution? i'll grateful ideas! please keep in mind cannot divide resources , code - must pack them together.

ran across problem today , wanted let people know can caused programmer error...

i had set simple parallax background game. worked fine when player moved short distance needed test long distance. in game player moves right automatically until encounters enemy him walk long distance had move enemy further away. set enemy x 999999, compiled... , got java heap space error. have no idea why cause me run out of memory (i don't understand how display objects work) restoring enemy's position , restarting flashdevelop fixed problem.


Comments

Popular posts from this blog

c# - Binding a comma separated list to a List<int> in asp.net web api -

Delphi 7 and decode UTF-8 base64 -

html - Is there any way to exclude a single element from the style? (Bootstrap) -