Object Heap Allocation Error
Hey, all -
This is going to be a weird one: been using Sencha CMD (220.127.116.11) for a few weeks now with a grand total of zero issues -- including Friday (12/20). Powered my PC down for the weekend; came in to work today (12/23), started up and got the following from CMD:
Error occurred during initialization of VM
Could not reserve enough space for object heap
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
It's not just me -- guy in the office next door is having the same exact issue. My question: what conceivably could have changed between COB Friday and SOB today? Local IT appears to be avoiding me on this one. Doesn't look like a Java issue: Eclipse starts up and runs like a champ...
Thanks in advance,
Sencha Premium Member
Pretty easily fixed:
Open the Control Panel
Go to System (win + pause/break works also)
Go to Advanced Systems Properties
Then Environment Variables
In System Variables, click Add
New Variable Name: _JAVA_OPTIONS
New Variable Value: -Xmx512M
Works now for me. Had to restart Visual Studio to pick up the new environment variable.
Thanks for posting this solution. I've been using Sencha Architect/Designer for years and never came across this problem, until now (using 3.0.4 on Windows 8.1)