Google App Engine(java) - 由于超出应用程序大小限制,应用程序上传失败 - (免费帐户)
我正在使用 Google 应用引擎进行开发,我的项目涉及大约 60 个 PDf 可供用户下载。
当我尝试通过单击 eclipse 中的部署按钮来上传项目时,我收到错误超出应用程序限制。
我只是想知道如果我尝试使用付费帐户,付费帐户中的应用程序大小是否有所不同?
据我所知,目前 150 MB
i am using Google app engine for my development, my project involves around 60 PDfs to be available for users to download.
when i try to upload the project by clicking deploy button in eclipse i get the error app limit exceeded.
i just want to know if i try to use the paid account is there is a different in the application size in paid account or not?
as far as i know its 150 MB for now
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
您应该使用 Blobstore 服务来存储您的 PDF 文件并仅保留文件的应用程序您的应用程序逻辑和表示所需,而不是数据。以下是 Blobstore 的描述:
You should use Blobstore service to store your PDF files and keep application only for files needed by your application logic and presentation, not data. Here is description of the Blobstore:
以上都是好的建议,请尽量避免在代码中添加类似的内容。我的应用程序遇到了这个问题,并且只有大约 10MB 的代码/图像/资源。占用大量空间的是应用程序 15 种排列的 GWT 编译。
对我有帮助的一件事是将我的 GWT javascript 生成输出样式从“详细信息”更改为“混淆”,从而生成更小的代码。您还可以限制创建的排列数量。
https://developers.google.com/web-toolkit/doc/1.6 /FAQ_DebuggingAndCompiling#Can_I_speed_up_the_GWT_compiler?
All good advice above, try to avoid putting content like that in your code. My app hit this issue and only has about 10MB of code/images/resources. What takes up a lot of space is the GWT compiling of 15 permutations of your app.
One thing that helped me, was changing my GWT javascript generation output style from Details to Obfuscated, resulting in much smaller code. You can also limit the number of permutations being created.
https://developers.google.com/web-toolkit/doc/1.6/FAQ_DebuggingAndCompiling#Can_I_speed_up_the_GWT_compiler?
根据 http://code.google.com/intl/de /appengine/docs/quotas.html#Deployments应用程序不得超过 10 MB。
According to http://code.google.com/intl/de/appengine/docs/quotas.html#Deployments the applications may not exceed 10 MB.
您最多可以上传 10MB 数据到您的应用程序引擎
请参阅以下链接
http://code.google.com/appengine/docs/quotas.html< /a>
upto 10MB data u can upload to ur app engine
see following link
http://code.google.com/appengine/docs/quotas.html