分类: Java
2012-12-12 17:19:45
下午刚将playframework放到其他的机器上面运行,输入play run,
Error occurred during initialization of VM
Could not reserve enough space for object heap
Could not create the Java virtual machine.
我知道是jvm的问题,但是一时找不到解决的方法,后来在stackoverflow上面得到了启示,在application.conf里面加多一行jvm.memory=-Xmx256M -Xms256M,就行了。。