My original configuration was 128MB with a timeout of 3 second (this was the default lambda settings), increasing the memory to 1000MB with 10 seconds timeout seem to give me reliable results, a timeout that is less may not work sometimes that I think maybe due to lambda cold starts.
Looks like your connection to jsreport forum was lost, please wait while we try to reconnect.