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 2021/03/09 01:50:58 UTC

[GitHub] [royale-compiler] brianraymes opened a new issue #182: Binding Data Missing in Debug and Release Builds ~20% of Builds

brianraymes opened a new issue #182:
URL: https://github.com/apache/royale-compiler/issues/182


   The issue with binding data missing in builds, both release and debug, is starting to seem worse and worse. This is not a new issue, but is now bad enough that it seems to happen in roughly 20% of all builds. In my case, this is with Maven.
   
   When this issue occurs, various UI elements are missing, or authentication with AMF fails as some of those objects may be missing the binding data.
   
   When comparing good and bad builds, this is the header to the _missing_ from the generated javascript:
   
   ```
   /**
    * @export
    */
   com.some.package.path.prototype._bindings = [
      ...
      ...
      ...
   ]
   ```
   
   This would be less of an issue if this were only isolated to debug builds, but when using release automation, this is starting to be considerably problematic.


----------------------------------------------------------------
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-compiler] brianraymes commented on issue #182: Binding Data Missing in Debug and Release Builds ~20% of Builds

Posted by GitBox <gi...@apache.org>.
brianraymes commented on issue #182:
URL: https://github.com/apache/royale-compiler/issues/182#issuecomment-803080559


   I believe this has helped for now. My Royale project is roughly at 1,500 files and growing. Haven't seen the issue since increasing the memory. I'll report more findings as I learn more. At the least, this is a suitable workaround.


-- 
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-compiler] greg-dove commented on issue #182: Binding Data Missing in Debug and Release Builds ~20% of Builds

Posted by GitBox <gi...@apache.org>.
greg-dove commented on issue #182:
URL: https://github.com/apache/royale-compiler/issues/182#issuecomment-793269956


   I was generally aware of the issue you describe, but have not seen this for a long long time, and I use Maven all the time. If it has been getting worse perhaps it is memory-related as your project has grown. Have you tried a generous memory allocation to see if that makes any difference? probably in this case it might be via MAVEN_OPTS. I can't think of anything else offhand.


----------------------------------------------------------------
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-compiler] brianraymes commented on issue #182: Binding Data Missing in Debug and Release Builds ~20% of Builds

Posted by GitBox <gi...@apache.org>.
brianraymes commented on issue #182:
URL: https://github.com/apache/royale-compiler/issues/182#issuecomment-794231049


   Interesting. My project is fairly large. I will give that a try and report back. Thank you.


----------------------------------------------------------------
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-compiler] brianraymes commented on issue #182: Binding Data Missing in Debug and Release Builds ~20% of Builds

Posted by GitBox <gi...@apache.org>.
brianraymes commented on issue #182:
URL: https://github.com/apache/royale-compiler/issues/182#issuecomment-840732103


   This fix appeared to be short lived, or coincidence. It appears to be happening more and more. I've been tweaking the values, for instance, currently at:
   
   ```-Xmx6144m -Xms2048m -Djava.awt.headless=true```
   
   It's still happening quite a lot.
   
   IMO, build systems should be deterministic. Lack of memory shouldn't change the output, but instead perhaps make it slower to achieve the desired result.
   
   Thoughts?


-- 
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