You can tweak the amount of RAM to allocate to Java with the flags above, -Xms sets the initial memory allocation and -Xmx sets the maximum memory limit. It’s best to allocate as much RAM as possible because Java can be quite RAM hungry. On my KVM with 2GB RAM I set them both to 1496M and haven’t had any problems.

Search

Subscribe & Follow

About

CheapVPS and is owned and run by Simply Virtual Servers Ltd. Simply Virtual Servers Ltd. is a UK based company that specialises in internet hosting services and run by individuals with nearly a decade of experience with virtual servers.