- Serverless Programming Cookbook
- Heartin Kanikathottu
- 64字
- 2025-04-04 15:02:17
Lambda memory-size and timeout
When creating a function from CLI, the default value of timeout is 3 seconds, and default value memory-size is 128 MB, which may not be sufficient for Lambdas with Uber JARs, and you may get a timeout exception or Process exited before completing request. Hence, I have set a higher timeout and memory-size. Other parameters are mostly self-explanatory.