5 Feb 2013 7:26 AM #1
cmd.version=188.8.131.528 - java.lang.OutOfMemoryError: Java heap space
I give a try to CMD but I receive this message
[ERR] [ERR] BUILD FAILED [ERR] com.sencha.exceptions.BasicException: java.lang.OutOfMemoryError: Java heap space [ERR] at com.sencha.cli.Commands$Cmd.create(Commands.java:117) [ERR] at com.sencha.cli.Commands.findCommand(Commands.java:74) [ERR] at com.sencha.cli.Commands.dispatch(Commands.java:43) [ERR] at com.sencha.cli.Commands.dispatch(Commands.java:49)
What I am supposed to do (the computer has 8g with 4g free)
5 Feb 2013 7:44 AM #2
I found the solution by altering the cfg java command line
7 Feb 2013 11:41 PM #3
In fact, it only solve the generate action but not the production build action...
8 Feb 2013 7:16 AM #4
Have you tried commenting the line out altogether?
8 Feb 2013 8:01 AM #5
8 Feb 2013 8:19 AM #6
If you've got 4gb free to play with then I'd keep adjusting the memory settings until you have it right.
Start with cmd.jvm.args=-Xms128m -Xmx2048m and keep adjusting the -Xmx setting until it works.
I haven't seen anyone else with this issue so it could be specific to your machine. Are you running the latest and greatest version of java?
Also, produce a bootstrap file and check to see if it's doing something crazy like trying to include ext-all.js. That would consume a lot of memory.
Last edited by lsdriscoll; 8 Feb 2013 at 8:19 AM. Reason: Formatting. How did Sencha manage to screw up CKEditor???