Skip to main content

Memory settings

The following sample sets

  • PermGen space is set to 256 MB
  • Minimum application memory is 512 MB
  • Maximum application memory is 1 GB

Max total memory in this setup is 1280 MB which will work just fine in most cases

-Xmx512m -Xms1024m -XX:MaxPermSize=256m

In very memory constrained environments (server <= 1GB) use the following settings, with a max use of 512 mB

-Xmx384m -Xms384m -XX:PermSize=128m -XX:MaxPermSize=128m