xms

How to set JVM properties (Xms and Xmx) with the Play Framework startup script alvin May 20, 2014 - 8:55am

As I noted yesterday, I got a Play Framework application running on a Raspberry Pi (RPI) this weekend. It was pretty easy; I just deployed the application to a production server as usual, and on the RPI I only had to install Java, and control the RAM usage.

How to control Java heap size (memory) allocation (xmx, xms)

Java memory FAQ: How do I control the amount of memory my Java program uses (i.e., Java RAM usage)?

One of the Linux servers that I use is a little starved for memory, but I need to run a Java program on it periodically to run some utility tasks. However, every time I try to run the program I get this Java heap size error message: