SAP JAVA: Could not reserve enough space for object heap

While trying to start SAP JAVA instance while installing a JAVA instance of SAP Solution Manager 7.2, the system didn’t start and in the log I found the following error:
Could not reserve enough space for object heap
I increased the Windows page file to 40GB, restart the OS and then the SAP JAVA was able to start.

Miki Barzilay