Exceeded hard memory limit of 256 MB on F4 instance at Free Trial

999 views
Skip to first unread message

Andreas Bartelt

unread,
Oct 11, 2021, 9:45:38 AM10/11/21
to Google App Engine
Hi all!

I've get messages like this one:
"Exceeded hard memory limit of 256 MB with 274 MB after servicing 2 requests total. Consider setting a larger instance class in app.yaml."
And my application throws HTTP 500 errors in response.

My app.yaml:
runtime: java11
instance_class: F4

Also tried F4_G1 to no avail.

I'am on GAE standard in the Free Trial.

How to debug this?

Regards, Andreas

Andreas Bartelt

unread,
Oct 14, 2021, 10:32:30 AM10/14/21
to Google App Engine
Looks like this is an deployment issue.

The direct deployment of the quarkus application with ' gcloud app deploy' seems not to deploy the app.yaml correctly.

Using the maven plugin helps with the issue: mvn clean package appengine:deploy.

Ludovic Champenois

unread,
Oct 18, 2021, 10:50:10 AM10/18/21
to Google App Engine
Can you share your source code directory structure, and where is located app.yaml, and how you build then deploy?
Reply all
Reply to author
Forward
0 new messages