garbage collection - Ant gc task for mxmlc? -
in project use ant build script. during compile phase have compile 20 modules , number growing. compile modules sequentially call mxmlc task. works expected except seems mxmlc doesn't release memory.
i set:
export ant_opts="-xms1536m -xmx1536m -xx:permsize=1024m -xx:maxpermsize=2048m"
but build script reaches limit. so, curious if there way release unused memory? or maybe there handly way avoid memory leaks?
as idea consider create additional build script takes args , build of 1 module , call flex build script main build script external app. hack. great know more professional way handle it...
thank in advance!
i had problem , solved having ant task mxmlc fork:
<mxmlc fork="true" ... >
this causes mxmlc spawn process compiling (of each application/module).
Comments
Post a Comment