Found a solution. In the mxmlc task (or any others), make sure to set fork to true and maxmemory to at least 512m, such as:
The fork starts a new thread so the memory isn't shared. And the maxmemory let's the JVM know how much memory it can use.
We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.OkRead more