0

I am deploying a Play Framework 2.4 Application as a Docker Container on AWS. I have to specify a Hard/Soft Memory Limit for the Container.

I do not know what limit to choose and wanted to set it to the maximum amount of heap space the App might be using.

Researching I only found discussions and instructions on how to change the maximum heap space of a Play App, but I couldn't figure out to what it is set per default.

Jakob Abfalter
  • 4,270
  • 14
  • 48
  • 81

1 Answers1

1

If you don't set explicitly then it is defined by JVM. Usually it is 1/4 of your phisical memory.

You can check for sure using instructions from here: How is the default java heap size determined?

Community
  • 1
  • 1
Yury Kisliak
  • 390
  • 2
  • 12