Out of memory error #19
Comments
This error comes from closure compiler itself, it's thrown on the Java side of things (more memory allocated than available to the JVM). As a workaround, you could try to edit the default arguments to contain -Xms and -Xmx options, e.g. From the docs:
Please let me know of your findings! |
Cool! It helped! I'm not certain should that options be set by default, maybe adding command line arguments which allow such customisations would be right thing to do. |
Thanks, that was also my thought. I think I'll go with some reasonable defaults plus giving an option to adapt it. |
I'll close this for now, thanks again! |
hey I set |
@carlitux Xmx: This value must be a multiple of 1024 greater than 2MB |
I'm facing out of memory error on my laptop running OS X Yosemite with 16 gigabyte of RAM.
I've intentded to compile my javascript app (172k lines). I've tried both
SIMPLE_OPTIMIZATION
andANDVANCED_OPTIMIZATION
.My question on StackOverflow
Output listing:
The text was updated successfully, but these errors were encountered: