What works for me is increasing the memory size of the lambda function to a higher value (128MB to 3008MB).