How do I query the actual amount of memory that is used for running my program?

更新时间:
复制 MD 格式

Function Compute provides two ways to check actual memory usage for a function.

  • Function return information: The maximum memory used is included in the response returned after each function execution.

  • Performance monitoring metrics: View resource consumption trends over a continuous period. For more information, see Monitoring metrics.