17

What is the maximum amount of local memory (not Memcache) each instance of a Google App engine app is allowed to consume?

I couldn't find any information on the GAE quotas page.

Tony the Pony
  • 40,327
  • 71
  • 187
  • 281
  • Nick Johnson mentions something about having a limit on the instance memory, on this post: http://blog.notdot.net/2010/11/Storage-options-on-App-Engine But not the ammount. :( – Jorge Guberte Nov 20 '10 at 12:43

2 Answers2

9

The maximum memory limit for an App Engine instance depends on the instance class that you choose. The default limit is 128 MB. The following classes are currently available:

  • F1 and B1 - 128 MB
  • F2 and B2 - 256 MB
  • F4 and B4 - 512 MB
  • F4_1G, B4_1G - 1024 MB

Edit: Second generation instances have double the memory:

  • F1 and B1 - 256 MB
  • F2 and B2 - 512 MB
  • F4 and B4 - 1024 MB
  • F4_HIGHMEM and B4_HIGHMEM - 2048 MB
  • B8 - 2048 MB
fileyfood500
  • 1,199
  • 1
  • 13
  • 29
mndrix
  • 3,131
  • 1
  • 30
  • 23
5

The maximum amount of local memory is not documented.

speculation:
I believe they have not imposed any hard limits because it may depend on your application traffic/load/activity and by other GAE applications.

There's an open issue MemoryError undocumented/hard to predict that you might want to star.

EDIT:
Reading the new Backends documentation here it seems capped to 128MB

systempuntoout
  • 71,966
  • 47
  • 171
  • 241