Dear Team,
We are currently using the latest version of GroupDocs.Conversion (v25.4) to convert Excel files to HTML. However, we have encountered a significant issue related to memory consumption.
While converting a 1.6 MB Excel file, the memory usage spikes dramatically, eventually causing our service to shut down. This behavior was consistent and reproducible. We have attached:
We would like to know:
-
Is there any built-in method or configuration to limit CPU or memory usage during conversion?
-
Are there any recommended optimizations or best practices for handling large or complex Excel files?
Looking forward to your guidance on resolving this issue.
image.jpg (100.3 KB)
https://mariapps-
Excel sample attached via Onedrive link
my.sharepoint.com/:x:/p/abdul_azees/EXoQ_C_0aExHrRjQ6RQw854BXKumlmu_e31QLYRt8rQZew?e=7nsn8d
@koc-it-support
Can you please provide more details about the environment you are using, such as the operating system and the Java version? Additionally, are there any specific error messages you are encountering during the conversion process?
Hello @koc-it-support,
Thank you for reaching out to us.
In response to your questions, we’d like to highlight the following:
High memory consumption is typically observed when an Excel document contains many images or embedded objects (e.g., charts, graphics), as well as a large number of worksheets.
- Unfortunately, there is currently no method in our Conversion API that allows limiting CPU usage during conversion.
- As an optimization recommendation, you can try using the
WebConvertOptions.setUsePdf(true)
property. This may slightly increase the conversion duration, but it should help reduce sharp CPU memory spikes during the process.
Unfortunately, we were unable to download your file for further analysis. Could you please re-upload it to the forum, preferably in a compressed archive, or provide a link via Google Drive?
Also, please clarify the additional information requested by our bot (Professionalize.Discourse) in its initial response, as this will help us investigate the issue more effectively.