Re: diego questions: default memory and passing env variables
Siva Balan <mailsiva@...>
Thanks for the response. But what I am observing is, by setting
toggle quoted message
Show quoted text
MEMORY_LIMIT as an environment variable does take effect when I restage the app and it reduces the memory allocated to the java app(not the container itself) to the amount set in the variable. The app is restarted with the same heap ratio as dictated by the buildpack but assumes the max memory available to it is now 1GB instead of 2GB. The container still had 2GB allocated to it and I understand that will be reduced only if I use the "cf scale" command. Is this the expected behavior? Thanks Siva
On Wed, Sep 2, 2015 at 3:55 PM, Amit Gupta <agupta(a)pivotal.io> wrote:
This is not a environment variable you can set. To scale down the memory |
|