【问题标题】:What is the maximum memory a Google App Engine app may consume?Google App Engine 应用程序可能消耗的最大内存是多少?
【发布时间】:2022-01-23 10:06:09
【问题描述】:

Google App 引擎应用程序的每个实例允许消耗的 本地 内存( Memcache)的最大量是多少?

我在GAE quotas page 上找不到任何信息。

【问题讨论】:

标签: google-app-engine gae-quotas


【解决方案1】:

您选择的 App Engine 实例 depends on the instance class 的最大内存限制。默认限制为 128 MB。目前提供以下课程:

  • F1 和 B1 - 128 MB
  • F2 和 B2 - 256 MB
  • F4 和 B4 - 512 MB
  • F4_1G、B4_1G - 1024 MB

编辑:第二代实例有double the memory:

  • F1 和 B1 - 256 MB
  • F2 和 B2 - 512 MB
  • F4 和 B4 - 1024 MB
  • F4_HIGHMEM 和 B4_HIGHMEM - 2048 MB
  • B8 - 2048 MB

【讨论】:

  • @user2284570 您提供的链接适用于 Compute Engine。 App Engine 有不同的内存限制
  • 无论如何,您的答案中的链接不再包含该信息。你必须更新它。
  • 链接已弃用
【解决方案2】:

没有记录最大本地内存量。

推测
我相信他们没有施加任何硬性限制,因为它可能取决于您的应用程序流量/负载/活动以及其他 GAE 应用程序。

有一个未解决的问题MemoryError undocumented/hard to predict,您可能想加注星标。

编辑:
阅读新的后端文档 here 似乎上限为 128MB

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2015-05-31
    • 1970-01-01
    • 2012-09-25
    • 2013-02-05
    • 2011-08-06
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多