------------ 部署前端 ------------
准备部署:
Created staging directory at: '/var/folders/14/l6tq2_1x17s0p1bcq5nsqphwthd17d/T/appcfg2818721238209183883.tmp'
扫描jsp文件。
java.lang.OutOfMemoryError:Java 堆空间
从 Eclipse 将我的应用程序部署到 Google App Engine 时发生此错误。
最佳答案
您的项目使用了 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
...或者如果在部署时发生错误(您的情况),您需要增加允许 java 在主机系统上使用的堆空间。在这里阅读更多内容:
...有关 Eclipse 的具体说明,请参见此处:
https://wiki.eclipse.org/FAQ_How_do_I_increase_the_heap_size_available_to_Eclipse
关于java.lang.OutOfMemory错误: Java heap space while deploying GWT application to Google App Engine,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/27249260/