extjssencha-cmd

Getting the error "com.sencha.exceptions.BasicException: GC overhead limit exceeded" while building an app in sencha cmd v6.5.1.240


I am not able to build my extjs app using sencha command "sencha app build"

I have recently updated my sencha cmd version to Cmd v6.5.1.240 and extjs version to ext-6.5.0. I also tried updating the environmental variable, by updating the path variable "set _JAVA_OPTIONS="-Xms1024m -Xmx2048m"", but couldn't resolve the issue.

The screen shot is also attached. Please help me in resolving this problem.

Thank you !

enter image description here


Solution

  • You suggestion was correct, but the location was not. You can change the vmoptions in the Sencha CMD directory:

    userhome/bin/Sencha/Cmd/6.5.1.240/

    There should be a file called sencha.vmoptions. Just add your memory increase there.