Re: diego questions: default memory and passing env variables
Sabha
The MEMORY_LIMIT is used by the java buildpack to configure the various
toggle quoted message
Show quoted text
heap parameters for a java app. This variable value is set to the container size by default by the Cloud controller when you push the app and JBP uses that to arrive at heap during staging. What you have done is making the buildpack work with a lower memory threshold even though the app itself is allowed a higher limit. Tweak the MEMORY_LIMIT variable only when you are using JavaBP and want to really have some additional native memory headroom to grow (due to native memory usage or safety concerns) or to limit heap from utilizing the full container memory size. As Amit mentioned, always use cf scale option to change the memory or instance count for the app container. -Sabha
On Wed, Sep 2, 2015 at 4:17 PM, Siva Balan <mailsiva(a)gmail.com> wrote:
Thanks for the response. But what I am observing is, by setting |
|