I made some modifications to my play project and when I try and run it I get errors.
>play run
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 occured. Program will exit.
Is this a common problem? I am fairly inexperienced with the play framework but I have ran my project several times before without encountering this error.
Edit: Information regarding java version.
>java -version
java version "1.7.0_11"
Java(TM) Runtime Environment (build 1.7.0_11-b21)
Java HotSpot(TM) Client VM (build 23.6-b04, mixed mode, sharing)
In Play framework 2.0.3,
<play framework install dir>\framework\build.bat
script you need to replace the command line argument for the command belowinto
It solved my problem.
For more, refer to this post .