Is there a way to increase heap size for Play Framework 2.1?
Below are some of the actions we tried, and they do not seem to take effect: 1) Adding the parameter "jvm.memory = -Xmx1024M -Xms2048M" to conf / application.conf 2) Or follow the instructions in PlayFramework - ProductionConfiguration, by typing start -Xms128M -Xmx512m-server http://www.playframework.com/documentation/2.1.2/ProductionConfiguration
How do we control if heap size has been increased? Using the Windows task manager, we monitor whether the fixed size has increased (or are we doing something wrong?)
Edited by [13/9/13]: We are editing the xmx and xms parameter in the file play2 / framework / build.bat, and it works. Is this the right way to do this? Also any recommended value that you guys are currently using in production?
Thank you for your help!
source share