Copy link to clipboard
Copied
We are using the Adobe.PDFServicesSDK NuGet package version 3.2.0.0 in a .NET 6 AWS Lambda.
Sometimes (but not always) the calls to CreatePDFOperation.Execute and DocumentMergeOperation.Execute never return. AWS Lambdas have a maximum lifetime of 15 minutes and after 15 minutes the Lambda is automatically terminated by AWS. This is what is happening. The call doesn't timeout AFAICS, it just never returns. We have logging in place executes immediately before and after the call - we see that the call is started but never returns. No exception is thrown - if it were then our code would log it but even if it failed to log it the Lambda would finish naturally and not be terminated by AWS after 15 minutes.
This issue is not reproducible on demand. Sometimes we see it happen and sometimes not.
Copy link to clipboard
Copied
It looks like the issue is not a case of the Lambda running out of memory. Here is what AWS Lambda reports in CloudWatch upon termination:-