How to increase the heap size of the google cloud app engine?
I am now using Google Cloud App Engine Standard environment for Java application and I am getting outOfMemory Error cause the Java heap size` is quite filled. I know why cause I'm processing a lot of data which might reach 1GB, so how to increase the heap size allocated for a java app running in App Engine Standard environment. I've fixed my problem by moving to java8 and now Im using java 8 environmental variables to increase the java heap size by adding this to the appengine-web.xml <env-variables> <env-var name="GAE_MEMORY_MB" value="1024M" /> <env-var name="HEAP_SIZE_RATIO" value="90" /> <