In this article, we measured cold and warm starts of a Lambda function with different memory settings using the Custom Runtime containing GraalVM Native Image with GraalVM 21 runtime.
Warm start times are consistent across different memory settings, while cold start times are significantly higher for lower memory settings like 256 and 512 MBs.
Increasing the memory to 768 MB or higher results in a slight decrease in cold start times.
For memory greater than 1024 MB, there is no noticeable difference in cold start times.