I'm trying to understand the wording in the pricing docs
here:
"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."
"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