how does memory affect performance of aws lambda written in nodejs