Reputation: 466
------------ Deploying frontend ------------
Preparing to deploy:
Created staging directory at: '/var/folders/14/l6tq2_1x17s0p1bcq5nsqphwthd17d/T/appcfg2818721238209183883.tmp'
Scanning for jsp files.
java.lang.OutOfMemoryError: Java heap space
This error occurs while deploying my application to google app engine from eclipse.
Upvotes: 1
Views: 1819
Reputation: 3996
Either your project uses to much heap space within Google App Engine...
Try to reduce the memory your application needs or purchase an instance which is more expensive...
Select another "Frontend class" as described here (the more memory the more heap):
https://cloud.google.com/appengine/docs/adminconsole/performancesettings
... or if the error occurs while deploying (your case) you need to increase the heap space java is allowed to use on your host system. Read more here:
... and for eclipse specific instructions see here:
https://wiki.eclipse.org/FAQ_How_do_I_increase_the_heap_size_available_to_Eclipse
Upvotes: 1