You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@royale.apache.org by GitBox <gi...@apache.org> on 2020/12/13 06:02:34 UTC

[GitHub] [royale-asjs] estanglerbm opened a new pull request #1004: Several suggestions for js\bin\mxmlc.bat

estanglerbm opened a new pull request #1004:
URL: https://github.com/apache/royale-asjs/pull/1004


   o Added setlocal to mxmlc.bat files to prevent ROYALE_HOME, etc., from being set in the caller environment.
   
   o Increased max memory for java to 1024 MB to prevent out-of-memory during release JS builds on modest app, and increased minimum memory to 128 MB to speed up compile by 5-10% on modest machine.
   
   o **Adjusted ROYALE_COMPILER_HOME to be consistent with build.xml files (...\js).**  Note that the command-line define for "royalecompiler" seems to be ineffectual (so the change here should not be a problem for that);  there is no System.getProperty("royalecompiler") or such in the .java compiler code.
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [royale-asjs] estanglerbm commented on pull request #1004: Several suggestions for js\bin\mxmlc.bat

Posted by GitBox <gi...@apache.org>.
estanglerbm commented on pull request #1004:
URL: https://github.com/apache/royale-asjs/pull/1004#issuecomment-743988460


   Just for completeness, the out-of-memory error (with 512 MB max) is:
   
   ``Exception in thread "main" java.lang.OutOfMemoryError: GC overhead limit exceeded``
   
   1 GB max doesn't seem like an unreasonable amount these days.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [royale-asjs] Harbs merged pull request #1004: Several suggestions for js\bin\mxmlc.bat

Posted by GitBox <gi...@apache.org>.
Harbs merged pull request #1004:
URL: https://github.com/apache/royale-asjs/pull/1004


   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org