I get this error when deploying Play! app on dokku: Total 27 (delta 0), reused 0 (delta 0)
-----> Building test ...
Play 2.x - Java app detected
-----> Installing OpenJDK 1.6...done
-----> Building app with sbt
-----> Running: sbt clean compile stage
Error occurred during initialization of VM
Could not reserve enough space for object heap
! Failed to build app with sbt
To [email protected]:test
! [remote rejected] master -> master (pre-receive hook declined)
My server has 512MB of ram and it is VPS. When i use play run command everything is forking fine. Only during dokku deployment i get this error.
Can anyone help me overcome this issue?