Cordova Error starting VM | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 8

Cordova Error starting VM

I'm getting a strange error when using cordova emulate android: Error occurred during initialization of VM Could not reserve enough space for object heap

2nd Nov 2018, 7:16 PM
Edwin Pratt
Edwin Pratt - avatar
5 Answers
+ 16
Try to switch to 64-bit JDK or increase the Java VM memory size in the "System variables".
2nd Nov 2018, 11:53 PM
Igor Makarsky
Igor Makarsky - avatar
+ 14
I'm not sure. Anyway 32-bit OS is not a good choice for development.
3rd Nov 2018, 9:05 AM
Igor Makarsky
Igor Makarsky - avatar
+ 6
Thanks Igor! Will a 64-bit JDK work on a 32-bit OS?
3rd Nov 2018, 6:32 AM
Edwin Pratt
Edwin Pratt - avatar
+ 3
I only have access to 32-bit...
2nd Jan 2019, 8:47 AM
Edwin Pratt
Edwin Pratt - avatar
+ 1
Edwin, No! 64bits JDK won't work on 32bits OS!!!
3rd Nov 2018, 9:05 PM
Willkizy
Willkizy - avatar