Closed youngm closed 7 years ago
Yep, I was just wondering how this worked earlier this week. Seems reasonable.
Thanks for spotting this @youngm! Fixed in 80300d10fa1.
@youngm Released as v3.9.0.RELEASE
. When you get a moment, please give it a go for verification.
@nebhale gave it a quick test. It appears to work great now. Thanks for the fast turn around!
Probably going out in a buildpack release either Thursday or Monday.
Tested this against the excellent JBP 4.3 release.
I would like to provide default memory configuration in my
java_opts.yml
and allow users to override that using theJAVA_OPTS
app environment variable.It appears Java takes the last of a duplicated parameter but the memory calculator appears to take the first.
It appears in the example below that memory calculator prefers the first value. JBP appears to correctly place the environment
JAVA_OPTS
at the end of the start command. However, the memory calculator will think the application can use more heap than it really can.