A Cloud Native Buildpack for providing Memory Calculator.
The detection phase passes if
BP_DISABLE_MEMORY_CALCULATOR
is not set.
if the build plan contains
memory-calculator
- Set the output of Memory Calculator to
$JAVA_OPTS
- if
$BPL_TOTAL_MEMORY
is specified, configures--total-memory
. Defaults to$(cat /sys/fs/cgroup/memory/memory.limit_in_bytes)
. If the unlimited value (=9223372036854771712
) is set, it will be limited to1G
. - if
$BPL_LOADED_CLASS_COUNT
is specified, configures--loaded-class-count
. Defaults to 60% of the number of class files under/workspace/BOOT-INF
and inside of the jar files. - if
$BPL_THREAD_COUNT
is specified, configures--thread-count
. Defaults to200
. - if
$BPL_HEAD_ROOM
is specified, configures--head-room
. Defaults to0
.
- Set the output of Memory Calculator to
Licensed under the Apache License, Version 2.0.