I have deleted env:flex
from my .yaml
file and deployed to app engine with some other changes in other files. So now I'm switched to STANDARD env with instance_class F1.
With this instance class I'm not even able to upload a picture/image to my app, in debugger it shows the following error:
Exceeded soft memory limit of 128 MB with 129 MB after servicing 34 requests total. Consider setting a larger instance class in app.yaml.
Please someone from Google or who knows how to configure .yaml file correctly advice me:
- how do i change instance class?
do i need to specify any other parameters like:
resources: cpu: 2 memory_gb: 2.3 disk_size_gb: 10
What is the practice?
And one more thing: I don't think my app has suddenly become so popular. I'm unexpectedly receiving 3000 request per day. Is someone hitting my app every 30 seconds?
The standard environment doesn't support as granular resource specification as the flexible environment, there is no
resources
config in its app.yaml Reference. It only supports selecting pre-defined instance classes. From the same doc:For the traffic, it's really hard to say without seeing the request patterns, there can be many, many reasons.