• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!
  • Fill out your device list and let everyone know which phones you have!    Edit Your Device Inventory

cm13.0 building from source - java error

Search This thread

sgspluss

Senior Member
Oct 27, 2012
2,653
5,223
sgspluss.github.io
Any one knows why i get following error, while try to complie cm13.0 from source without modifications or else?

Code:
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.

Really didn't know why get this, can complie cm12.1 without any problems just cm13.0 have this on my machine.

Have 6 cores, 6 gig ram - 6 gig swap and 500 gig hdd, if this info be helpfull.

Thanks for every hint.
 

zelendel

Senior Member
Aug 11, 2008
23,372
20,597
OnePlus 6T
It's is saying you don't have enough room for the virtual machine. Are you trying to do this with a Vm set up or do you have real Linux set up/ dual boot (if your using Windows.