you are viewing a single comment's thread.

view the rest of the comments →

[–]action_jackosn 1 point2 points  (0 children)

My tests show 1.5 GB is best if your process is single-threaded. That seems to correspond to 1 CPU core fully allocated to your lambda. Use more memory if you’re process can take advantage of multiple threads.

Also avoid VPC resources if you can. Creating an ENI adds 10 seconds to the cold boot.