Memory calculation happens before every start of an application and it is performed by an external program, the Java Buildpack Memory Calculator. There is no need to restage an application after scaling the memory as restarting will cause the memory settings to be recalculated. The total available...
memory_calculator Memory calculator defaults, described below under "Memory". Additional Resources The JRE can also be configured by overlaying a set of resources on the default distribution. To do this, add files to the resources/zulu_jre directory in the buildpack fork. JCE Unlimited Strength To...
These settings can be influenced by configuring the stack_threads and/or class_count mappings (both part of the memory_calculator mapping), and/or Java options relating to memory. Note: If the total available memory is scaled up or down, the Java buildpack will re-calculate the JRE memory ...