Just curious why Jets sets the default memory allocation to 1536 MB per function. I was just reviewing my AWS Lambda bill today, and realized that I could save money by reducing memory allocation per function. A quick spot-check of my common requests show that actual memory used is below 200 MB per invocation.
AFAIK, AWS bills for Lambda compute time by the GB-second, based on memory allocated (not actually used). See: https://aws.amazon.com/lambda/pricing/
I’m thinking if I reduce memory allocation to say 256 MB per function, it’ll reduce my compute time portion of the bill by more than 80%. Am I missing anything here?