Re: diego questions: default memory and passing env variables
Siva Balan <mailsiva@...>
We are not using Diego and we are on CF version 211.
toggle quoted messageShow quoted text
I had my application started with 2GB of memory set in the manifest file. I then ran the following command and restaged the app: cf set-env <app-name> MEMORY_LIMIT 1024m Then when I ran "cf app <app-name>", it was still showing the instance memory of 2GB but the heap size allocated to the application was cut in half and I confirmed this through New Relic app. Also, the first full GC of the app occurred when the memory of the instance was at 1.3GB. So I am not quite sure of the description of the MEMORY_LIMIT env variable as described in http://docs.run.pivotal.io/devguide/deploy-apps/environment-variable.html#memory. I did not see my application restart when the instance memory went over 1GB. Any ideas about this behavior? Thanks. Siva
On Tue, Sep 1, 2015 at 7:40 PM, Amit Gupta <agupta(a)pivotal.io> wrote:
Responses inline.
|
|