Hi Alex,

This was my fault. I was always setting jvm args in my batch script with JAVA_TOOLS env var.

When i tried eclipse to build project, it was completed with success and then i realized that mxmlc.bat is overriding the env vars.

I replace -Xmx512m with -Xmx1024m in mxmlc.bat ant the compilation is completed.

Last lines of build :

Dec 02, 2018 7:20:25 PM com.google.javascript.jscomp.LoggerErrorManager printSummary
WARNING: 0 error(s), 124 warning(s), 98.0% typed

The project 'PinaraUI' has been successfully compiled and optimized.
237.493203393 seconds
Picked up JAVA_TOOL_OPTIONS: -Xmx1024m -Duser.country=EN -Duser.language=en -Dfile.encoding=UTF-8 -Dsun.io.useCanonCaches=false -Droyalelib="D:/dev/royale-emulation-works/github/royale-asjs/frameworks"


Sorry for inconvenience.

Thanks,
Serkan


29.11.2018 12:47 tarihinde Serkan Taş yazdı:
*java.lang.OutOfMemoryError: GC overhead limit exceeded*

Reply via email to