title: How to handle java.lang.OutOfMemoryError: Java heap space error on Google App Engine?
body: <p>I have an application deployed on Google App Engine and it throws:   <code>java.lang.OutOfMemoryError: Java heap space</code>  error while executing. I came across some solutions that talk about how to increase the heap size of VM by configuring <code>eclipse.ini</code> file, however that works only when application's running locally, so how do we configure and control the heap space size when the application is deployed on Google App Engine, is there a way to access the Java runtime on Google app engine ? Any help would be greatly appreciated. </p>