MobileMon
MobileMon

Reputation: 8651

Google app engine RAM not increasing

so i was receiving this error:

Exceeded soft private memory limit of 128 MB with 138 MB after servicing 200 requests total

So i upgraded my tier in app.yaml:

instance_class: B4_1G
basic_scaling:
max_instances: 25 
idle_timeout: 10m

after deploying I should be getting 512 MB of RAM but I still get the same error as above. Is there a lag until the RAM kicks in or do I have to do something else besides change the app.yaml file?

Upvotes: 0

Views: 790

Answers (1)

Alex Martelli
Alex Martelli

Reputation: 881635

The problem turned out to be: old instances running w/the previous config -- the solution is to stop all of them from the admin console and that the default version is set to the latest one.

Just pushing a new version is not sufficient. The older version still exists, archived on the servers, and instances of it keep getting created because it's still the default version.

To change the default version, e.g, from the google developers console: log in to console.cloud.google.com, pick your project, then, from the menu on the top left, compute, app engine, versions.

Upvotes: 2

Related Questions