AmazonS3 Storage exception: Exception of type 'System.OutOfMemoryException'

@allegro

We are sorry for the inconvenience. I have checked the logs; it is not OutOfMemory issue but Target format not supported. You can check API usage logs from the billing tab in your groupdocs.cloud dashboard. Please double check your input file and code. However, if the issue persists, then please share your sample document along with code to reproduce the issue at our end for investigation.

Yes, there were a few of those from a HEIC file that a user uploaded as a JPEG. But there were other errors that day. We are finding that they continue this morning during our testing. Relevant log entries are below:

[2023-12-20 10:30:21] production.INFO: Queued receipt : Id - 10316470;Name- 0invoice_img.png;Size - 6037  
[2023-12-20 10:30:31] production.INFO: App\Services\FileConversion\ConvertToPDF::convert.50.GroupDocs\Conversion\ApiException: Internal error: Image export failed. in /home/our_domain/our_app/vendor/groupdocscloud/groupdocs-conversion-cloud/src/GroupDocs/Conversion/ConvertApi.php:666
[2023-12-20 10:30:31] production.INFO: Failed receipt : Id - 10316470  

[2023-12-20 10:30:33] production.INFO: App\Services\FileConversion\ConvertToPDF::convert.50.GroupDocs\Conversion\ApiException: Internal error: Exception of type 'System.OutOfMemoryException' was thrown. in /home/our_domain/our_app/vendor/groupdocscloud/groupdocs-conversion-cloud/src/GroupDocs/Conversion/ConvertApi.php:666
[2023-12-20 10:30:33] production.INFO: Failed receipt : Id - 10316470  

[2023-12-20 10:30:46] production.INFO: App\Services\FileConversion\ConvertToPDF::convert.50.GroupDocs\Conversion\ApiException: Internal error: Image export failed. in /home/our_domain/our_app/vendor/groupdocscloud/groupdocs-conversion-cloud/src/GroupDocs/Conversion/ConvertApi.php:666
[2023-12-20 10:30:46] production.INFO: Failed receipt : Id - 10316470  

[2023-12-20 10:31:06] production.INFO: Queued receipt : Id - 10316468;Name- 112.333.jpg;Size - 13573  
[2023-12-20 10:31:09] production.INFO: App\Services\FileConversion\ConvertToPDF::convert.50.GroupDocs\Conversion\ApiException: Internal error: Exception of type 'System.OutOfMemoryException' was thrown. in /home/our_domain/our_app/vendor/groupdocscloud/groupdocs-conversion-cloud/src/GroupDocs/Conversion/ConvertApi.php:666
[2023-12-20 10:31:09] production.INFO: Failed receipt : Id - 10316468  

[2023-12-20 10:31:16] production.INFO: App\Services\FileConversion\ConvertToPDF::convert.50.GroupDocs\Conversion\ApiException: Internal error: Image export failed. in /home/our_domain/our_app/vendor/groupdocscloud/groupdocs-conversion-cloud/src/GroupDocs/Conversion/ConvertApi.php:666
[2023-12-20 10:31:16] production.INFO: Failed receipt : Id - 10316468  

[2023-12-20 10:31:19] production.INFO: App\Services\FileConversion\ConvertToPDF::convert.50.GroupDocs\Conversion\ApiException: Internal error: Exception of type 'System.OutOfMemoryException' was thrown. in /home/our_domain/our_app/vendor/groupdocscloud/groupdocs-conversion-cloud/src/GroupDocs/Conversion/ConvertApi.php:666
[2023-12-20 10:31:19] production.INFO: Failed receipt : Id - 10316468  

[2023-12-20 10:32:26] production.INFO: App\Services\FileConversion\ConvertToPDF::convert.50.GroupDocs\Conversion\ApiException: Internal error: Exception of type 'System.OutOfMemoryException' was thrown. in /home/our_domain/our_app/vendor/groupdocscloud/groupdocs-conversion-cloud/src/GroupDocs/Conversion/ConvertApi.php:666
[2023-12-20 10:32:26] production.INFO: Failed receipt : Id - 10316468  

[2023-12-20 10:32:28] production.INFO: App\Services\FileConversion\ConvertToPDF::convert.50.GroupDocs\Conversion\ApiException: Internal error: Exception of type 'System.OutOfMemoryException' was thrown. in /home/our_domain/our_app/vendor/groupdocscloud/groupdocs-conversion-cloud/src/GroupDocs/Conversion/ConvertApi.php:666
[2023-12-20 10:32:28] production.INFO: Failed receipt : Id - 10316468  

[2023-12-20 10:32:30] production.INFO: App\Services\FileConversion\ConvertToPDF::convert.50.GroupDocs\Conversion\ApiException: Internal error: Exception of type 'System.OutOfMemoryException' was thrown. in /home/our_domain/our_app/vendor/groupdocscloud/groupdocs-conversion-cloud/src/GroupDocs/Conversion/ConvertApi.php:666
[2023-12-20 10:32:30] production.INFO: Failed receipt : Id - 10316468  

[2023-12-20 10:37:33] production.INFO: App\Services\FileConversion\ConvertToPDF::convert.50.GroupDocs\Conversion\ApiException: Internal error: Exception of type 'System.OutOfMemoryException' was thrown. in /home/our_domain/our_app/vendor/groupdocscloud/groupdocs-conversion-cloud/src/GroupDocs/Conversion/ConvertApi.php:666
[2023-12-20 10:37:33] production.INFO: Failed receipt : Id - 10316468  

[2023-12-20 10:37:35] production.INFO: App\Services\FileConversion\ConvertToPDF::convert.50.GroupDocs\Conversion\ApiException: Internal error: Exception of type 'System.OutOfMemoryException' was thrown. in /home/our_domain/our_app/vendor/groupdocscloud/groupdocs-conversion-cloud/src/GroupDocs/Conversion/ConvertApi.php:666
[2023-12-20 10:37:35] production.INFO: Failed receipt : Id - 10316468  

[2023-12-20 10:37:37] production.INFO: App\Services\FileConversion\ConvertToPDF::convert.50.GroupDocs\Conversion\ApiException: Internal error: Exception of type 'System.OutOfMemoryException' was thrown. in /home/our_domain/our_app/vendor/groupdocscloud/groupdocs-conversion-cloud/src/GroupDocs/Conversion/ConvertApi.php:666
[2023-12-20 10:37:37] production.INFO: Failed receipt : Id - 10316468  

@allegro

Thanks for your feedback. Please as suggested above, kindly check the error logs from your dashboard and share.

@tilal.ahmad, this problem is currently quite consistent. We are seeing most jobs failing at present.

All of the usage logs on the dashboard report 200 OK.

Here is the log entry of the latest failure. Note the timestamp was just minutes ago. I can run it again if helpful.

[2023-12-20 13:07:49] production.INFO: App\Services\FileConversion\ConvertToPDF::convert.50.GroupDocs\Conversion\ApiException: Internal error: Exception of type 'System.OutOfMemoryException' was thrown. in /home/our_domain/public_html/our_app/vendor/groupdocscloud/groupdocs-conversion-cloud/src/GroupDocs/Conversion/ConvertApi.php:666
[2023-12-20 13:07:49] production.INFO: Failed supporting document : Id - 10316512  

You can see our job management interface here and our ability to retry (and likely throw the same error) here: https://prnt.sc/cxwZTASZFKQx

@allegro

We are further investigating the issue and will update you accordingly.

This problem persists. Any progress on figuring out what is happening? Here is a sample from our log files just from today:

[2024-01-02 07:56:48] production.INFO: Failed receipt : Id - 10315508  
[2024-01-02 07:56:51] production.INFO: App\Services\FileConversion\ConvertToPDF::convert.50.GroupDocs\Conversion\ApiException: Internal error: Exception of type 'System.OutOfMemoryException' was thrown. in /home/our_dom/public_html/our_app/vendor/groupdocscloud/groupdocs-conversion-cloud/src/GroupDocs/Conversion/ConvertApi.php:666
[2024-01-02 07:56:51] production.INFO: Failed receipt : Id - 10315508  
[2024-01-02 07:57:00] production.INFO: App\Services\FileConversion\ConvertToPDF::convert.50.GroupDocs\Conversion\ApiException: Internal error: Exception of type 'System.OutOfMemoryException' was thrown. in /home/our_dom/public_html/our_app/vendor/groupdocscloud/groupdocs-conversion-cloud/src/GroupDocs/Conversion/ConvertApi.php:666
[2024-01-02 07:57:00] production.INFO: Failed receipt : Id - 10318055  
[2024-01-02 07:57:04] production.INFO: App\Services\FileConversion\ConvertToPDF::convert.50.GroupDocs\Conversion\ApiException: Internal error: Exception of type 'System.OutOfMemoryException' was thrown. in /home/our_dom/public_html/our_app/vendor/groupdocscloud/groupdocs-conversion-cloud/src/GroupDocs/Conversion/ConvertApi.php:666
[2024-01-02 07:57:04] production.INFO: Failed receipt : Id - 10318055  
[2024-01-02 07:57:07] production.INFO: App\Services\FileConversion\ConvertToPDF::convert.50.GroupDocs\Conversion\ApiException: Internal error: Exception of type 'System.OutOfMemoryException' was thrown. in /home/our_dom/public_html/our_app/vendor/groupdocscloud/groupdocs-conversion-cloud/src/GroupDocs/Conversion/ConvertApi.php:666
[2024-01-02 07:57:07] production.INFO: Failed receipt : Id - 10318055  
[2024-01-02 07:57:16] production.INFO: App\Services\FileConversion\ConvertToPDF::convert.50.GroupDocs\Conversion\ApiException: Internal error: Exception of type 'System.OutOfMemoryException' was thrown. in /home/our_dom/public_html/our_app/vendor/groupdocscloud/groupdocs-conversion-cloud/src/GroupDocs/Conversion/ConvertApi.php:666
[2024-01-02 07:57:16] production.INFO: Failed receipt : Id - 10318133  
[2024-01-02 07:57:17] production.INFO: App\Services\FileConversion\ConvertToPDF::convert.50.GroupDocs\Conversion\ApiException: Internal error: Exception of type 'System.OutOfMemoryException' was thrown. in /home/our_dom/public_html/our_app/vendor/groupdocscloud/groupdocs-conversion-cloud/src/GroupDocs/Conversion/ConvertApi.php:666
[2024-01-02 07:57:17] production.INFO: Failed receipt : Id - 10318133  
[2024-01-02 07:57:20] production.INFO: Completed receipt : Id - 10318158; File Name : cN4ZZrq2Ag.pdf  
[2024-01-02 07:57:21] production.INFO: App\Services\FileConversion\ConvertToPDF::convert.50.GroupDocs\Conversion\ApiException: Internal error: Exception of type 'System.OutOfMemoryException' was thrown. in /home/our_dom/public_html/our_app/vendor/groupdocscloud/groupdocs-conversion-cloud/src/GroupDocs/Conversion/ConvertApi.php:666
[2024-01-02 07:57:21] production.INFO: Failed receipt : Id - 10318133  
[2024-01-02 07:57:23] production.INFO: App\Services\FileConversion\ConvertToPDF::convert.50.GroupDocs\Conversion\ApiException: Internal error: Exception of type 'System.OutOfMemoryException' was thrown. in /home/our_dom/public_html/our_app/vendor/groupdocscloud/groupdocs-conversion-cloud/src/GroupDocs/Conversion/ConvertApi.php:666
[2024-01-02 07:57:23] production.INFO: Failed receipt : Id - 10318185  
[2024-01-02 07:57:24] production.INFO: App\Services\FileConversion\ConvertToPDF::convert.50.GroupDocs\Conversion\ApiException: Internal error: Exception of type 'System.OutOfMemoryException' was thrown. in /home/our_dom/public_html/our_app/vendor/groupdocscloud/groupdocs-conversion-cloud/src/GroupDocs/Conversion/ConvertApi.php:666
[2024-01-02 07:57:24] production.INFO: Failed receipt : Id - 10318211  
[2024-01-02 07:57:29] production.INFO: Completed receipt : Id - 10318265; File Name : SA25CyyGh3.pdf  
[2024-01-02 07:57:29] production.INFO: App\Services\FileConversion\ConvertToPDF::convert.50.GroupDocs\Conversion\ApiException: Internal error: Exception of type 'System.OutOfMemoryException' was thrown. in /home/our_dom/public_html/our_app/vendor/groupdocscloud/groupdocs-conversion-cloud/src/GroupDocs/Conversion/ConvertApi.php:666
[2024-01-02 07:57:29] production.INFO: Failed receipt : Id - 10318185  
[2024-01-02 07:57:30] production.INFO: Completed receipt : Id - 10318211; File Name : VoQ723sv7B.pdf  
[2024-01-02 07:57:31] production.INFO: App\Services\FileConversion\ConvertToPDF::convert.50.GroupDocs\Conversion\ApiException: Internal error: Exception of type 'System.OutOfMemoryException' was thrown. in /home/our_dom/public_html/our_app/vendor/groupdocscloud/groupdocs-conversion-cloud/src/GroupDocs/Conversion/ConvertApi.php:666
[2024-01-02 07:57:31] production.INFO: Failed receipt : Id - 10318267  
[2024-01-02 07:57:33] production.INFO: App\Services\FileConversion\ConvertToPDF::convert.50.GroupDocs\Conversion\ApiException: Internal error: Exception of type 'System.OutOfMemoryException' was thrown. in /home/our_dom/public_html/our_app/vendor/groupdocscloud/groupdocs-conversion-cloud/src/GroupDocs/Conversion/ConvertApi.php:666
[2024-01-02 07:57:33] production.INFO: Failed receipt : Id - 10318267  
[2024-01-02 07:57:35] production.INFO: Completed receipt : Id - 10318185; File Name : jSljwObDtN.pdf  
[2024-01-02 07:57:37] production.INFO: App\Services\FileConversion\ConvertToPDF::convert.50.GroupDocs\Conversion\ApiException: Internal error: Exception of type 'System.OutOfMemoryException' was thrown. in /home/our_dom/public_html/our_app/vendor/groupdocscloud/groupdocs-conversion-cloud/src/GroupDocs/Conversion/ConvertApi.php:666
[2024-01-02 07:57:37] production.INFO: Failed receipt : Id - 10318267  
[2024-01-02 08:08:56] production.INFO: Completed receipt : Id - 10318267; File Name : B2u09BRMe3.pdf  
[2024-01-02 08:09:13] production.INFO: App\Services\FileConversion\ConvertToPDF::convert.50.GroupDocs\Conversion\ApiException: Internal error: Exception of type 'System.OutOfMemoryException' was thrown. in /home/our_dom/public_html/our_app/vendor/groupdocscloud/groupdocs-conversion-cloud/src/GroupDocs/Conversion/ConvertApi.php:666
[2024-01-02 08:09:40] production.INFO: Failed receipt : Id - 10315508  
[2024-01-02 08:09:46] production.INFO: App\Services\FileConversion\ConvertToPDF::convert.50.GroupDocs\Conversion\ApiException: Internal error: Exception of type 'System.OutOfMemoryException' was thrown. in /home/our_dom/public_html/our_app/vendor/groupdocscloud/groupdocs-conversion-cloud/src/GroupDocs/Conversion/ConvertApi.php:666
[2024-01-02 08:09:46] production.INFO: Failed receipt : Id - 10315508  
[2024-01-02 08:16:41] production.INFO: Completed receipt : Id - 10318226; File Name : LxRxMCCnTs.pdf

@allegro

I am afraid I noticed a single failed request in the last 7 days of logs, but as per your logs, there are more. I have requested our product team to check it. We will update you accordingly. Meanwhile, please ensure that you are using the latest version of GroupDocs.Conversion Cloud SDK for PHP.

@tilal.ahmad, any new insights or solutions to this problem?

@allegro

We are truly sorry for the inconvenience. As shared above, we are unable to notice the OutOfMemory exception in your logs. We will appreciate it if you please share some sample code and document to reproduce the issue at our end. It will help us to investigate the problem.

The code is not the problem as the exact same code will work consistently for hours or even days at a time for hundreds of file conversions and then it starts receiving errors. Here is the log from a file that is currently failing conversion:

[2024-01-11 05:00:08] production.INFO: Queued receipt : Id - 10319645;Name- 2024-01-08_fifty_more_stoves.jpeg;Size - 179178  
[2024-01-11 05:00:14] production.INFO: Completed receipt : Id - 10319645; File Name : AQyhrYgJ58.pdf  
[2024-01-11 05:43:34] production.INFO: Queued receipt : Id - 10319637;Name- IMG_2911.jpg;Size - 911067  
[2024-01-11 05:43:38] production.INFO: App\Services\FileConversion\ConvertToPDF::convert.50.GroupDocs\Conversion\ApiException: Internal error: Exception of type 'System.OutOfMemoryException' was thrown. in /home/our_dom/public_html/our_app/vendor/groupdocscloud/groupdocs-conversion-cloud/src/GroupDocs/Conversion/ConvertApi.php:666
[2024-01-11 05:43:38] production.INFO: Failed receipt : Id - 10319637  
[2024-01-11 05:43:40] production.INFO: App\Services\FileConversion\ConvertToPDF::convert.50.GroupDocs\Conversion\ApiException: Internal error: Exception of type 'System.OutOfMemoryException' was thrown. in /home/our_dom/public_html/our_app/vendor/groupdocscloud/groupdocs-conversion-cloud/src/GroupDocs/Conversion/ConvertApi.php:666
[2024-01-11 05:43:40] production.INFO: Failed receipt : Id - 10319637  
[2024-01-11 05:43:42] production.INFO: App\Services\FileConversion\ConvertToPDF::convert.50.GroupDocs\Conversion\ApiException: Internal error: Exception of type 'System.OutOfMemoryException' was thrown. in /home/our_dom/public_html/our_app/vendor/groupdocscloud/groupdocs-conversion-cloud/src/GroupDocs/Conversion/ConvertApi.php:666
[2024-01-11 05:43:42] production.INFO: Failed receipt : Id - 10319637  
[2024-01-11 08:11:17] production.INFO: Queued receipt : Id - 10319669;Name- Allegro12.2023_.jpeg;Size - 15595  
[2024-01-11 08:11:20] production.INFO: Completed receipt : Id - 10319669; File Name : zjDLhCe1xJ.pdf  
[2024-01-11 09:59:20] production.INFO: App\Services\FileConversion\ConvertToPDF::convert.50.GroupDocs\Conversion\ApiException: Internal error: Exception of type 'System.OutOfMemoryException' was thrown. in /home/our_dom/public_html/our_app/vendor/groupdocscloud/groupdocs-conversion-cloud/src/GroupDocs/Conversion/ConvertApi.php:666
[2024-01-11 09:59:20] production.INFO: Failed receipt : Id - 10319637  
[2024-01-11 09:59:22] production.INFO: App\Services\FileConversion\ConvertToPDF::convert.50.GroupDocs\Conversion\ApiException: Internal error: Exception of type 'System.OutOfMemoryException' was thrown. in /home/our_dom/public_html/our_app/vendor/groupdocscloud/groupdocs-conversion-cloud/src/GroupDocs/Conversion/ConvertApi.php:666
[2024-01-11 09:59:22] production.INFO: Failed receipt : Id - 10319637  
[2024-01-11 09:59:28] production.INFO: App\Services\FileConversion\ConvertToPDF::convert.50.GroupDocs\Conversion\ApiException: Internal error: Exception of type 'System.OutOfMemoryException' was thrown. in /home/our_dom/public_html/our_app/vendor/groupdocscloud/groupdocs-conversion-cloud/src/GroupDocs/Conversion/ConvertApi.php:666
[2024-01-11 09:59:28] production.INFO: Failed receipt : Id - 10319637  
[2024-01-11 10:03:03] production.INFO: App\Services\FileConversion\ConvertToPDF::convert.50.GroupDocs\Conversion\ApiException: Internal error: Exception of type 'System.OutOfMemoryException' was thrown. in /home/our_dom/public_html/our_app/vendor/groupdocscloud/groupdocs-conversion-cloud/src/GroupDocs/Conversion/ConvertApi.php:666
[2024-01-11 10:03:03] production.INFO: Failed receipt : Id - 10319637  
[2024-01-11 10:03:06] production.INFO: App\Services\FileConversion\ConvertToPDF::convert.50.GroupDocs\Conversion\ApiException: Internal error: Exception of type 'System.OutOfMemoryException' was thrown. in /home/our_dom/public_html/our_app/vendor/groupdocscloud/groupdocs-conversion-cloud/src/GroupDocs/Conversion/ConvertApi.php:666
[2024-01-11 10:03:06] production.INFO: Failed receipt : Id - 10319637  
[2024-01-11 10:03:09] production.INFO: App\Services\FileConversion\ConvertToPDF::convert.50.GroupDocs\Conversion\ApiException: Internal error: Exception of type 'System.OutOfMemoryException' was thrown. in /home/our_dom/public_html/our_app/vendor/groupdocscloud/groupdocs-conversion-cloud/src/GroupDocs/Conversion/ConvertApi.php:666
[2024-01-11 10:03:09] production.INFO: Failed receipt : Id - 10319637  

IMG_2911.jpg (134.3 KB)

@allegro

We are sorry for the inconvenience. We have logged a ticket(CONVERSIONCLOUD-549) to investigate and fix the issue.