Hi App Engine folks,

I'm trying to understand the wording in the pricing docs here 
<https://cloud.google.com/appengine/pricing#flexible-environment-pricing>:
"Billing for the memory resource includes the memory your app *uses* plus 
the memory that the runtime itself needs to run your app. This means your 
memory usage and costs can be higher than the maximum memory you request 
for your app."

And from app.yaml 
<https://cloud.google.com/appengine/docs/flexible/python/reference/app-yaml#memory>
 
reference:
"RAM in GB. The requested memory for your application, which does not 
include the ~0.4 GB of memory that is required for the overhead of some 
processes. Each CPU core requires a total memory between 0.9 and 6.5 GB.  
To calculate the requested memory:
memory_gb = cpu * [0.9 - 6.5] - 0.4
For the example above where you have specified 2 cores, you can request 
between 1.4 and 12.6 GB. The total amount of memory available to the 
application is set by the runtime environment as the environment variable 
GAE_MEMORY_MB."

Is billing based on the *requested *RAM, or the *used* RAM, which is 
displayed in the GCP App Engine console (see attached)?  The wording would 
seem to indicate the latter, which makes sense to me.  I'm just making sure 
because it appears that aside from the expected 0.4 GB of overhead, my 
applications have a loading-time spike in memory requirements, but 
stabilize at a much lower usage.  I'm just making sure I don't get billed 
for this initial maximum that I'm forced to request, multiplied by all 
uptime.

Thank you!

Best,
Eddie

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/40ba3ad2-107e-484f-a7c1-9efe51683cc6%40googlegroups.com.

Reply via email to