Help Center> FunctionGraph> User Guide (Kuala Lumpur Region)> FAQs> Function Execution FAQs> Why Does a Function Use More Memory Than Estimated and Even Trigger the Out of Memory Alarm?
Updated on 2023-07-06 GMT+08:00

Why Does a Function Use More Memory Than Estimated and Even Trigger the Out of Memory Alarm?

  1. Event parsing and cache consume extra memory during function invocation.
  2. After the invocation is complete, reclaimed memory is often put in the internal pool instead of back to the OS, resulting in high memory usage. This is more obvious in the case of high concurrency.