12 Replies Latest reply on Dec 10, 2012 10:09 AM by sinious

    How do I stop "Exception in thread "main" java.lang.OutOfMemoryError.java heap space

    rachalmers Newcomer

      I'm trying to rebuild my iPhone app, with hires graphics etc, using CS6 Flash Pro. However, I get this now,

      Exception in thread "main" java.lang.OutOfMemoryError.java heap space .....  followed by a lot of location information related to the error.

       

      Now, how do I increase the java memory allowances if that's the problem. I've already upp the jvm.ini file from 128 to 512. No difference.

       

      I'm based on

      Win8, 8GB RAM, x64

       

      I'm obviously asking it to load a lot of resources - but hey, Flahs should be able to handle it right?

       

      thanks if anyone can help