gpt4 book ai didi

java - Google App Engine(java) - 由于超出应用程序大小限制,应用程序上传失败 - (免费帐户)

转载 作者:行者123 更新时间:2023-12-02 00:36:46 28 4
gpt4 key购买 nike

我正在使用 Google 应用引擎进行开发,我的项目涉及大约 60 个 PDf 可供用户下载。

当我尝试通过单击eclipse中的部署按钮来上传项目时,我收到错误超出应用程序限制>。

我只是想知道如果我尝试使用付费帐户,付费帐户中的应用程序大小是否有所不同?

据我所知,目前150 MB

最佳答案

您应该使用Blobstore service存储您的 PDF 文件并仅保留应用程序逻辑和演示所需的文件,而不是数据。以下是 Blobstore 的描述:

The Blobstore API allows your app to serve data objects, called blobs, that are much larger than the size allowed for objects in the Datastore service. Blobs are created by uploading a file through an HTTP request. Typically, your apps will do this by presenting a form with a file upload field to the user. When the form is submitted, the Blobstore creates a blob from the file's contents and returns an opaque reference to the blob, called a blob key, which you can later use to serve the blob.

关于java - Google App Engine(java) - 由于超出应用程序大小限制,应用程序上传失败 - (免费帐户),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/7608938/

28 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com