We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Landray RDM 57611

the source code is src.zip (1.6 KB)
the source file is htt()ps://filebin.net/o1gi0lxgh0qubxb0
remove () to get the file

the problem is the 3.766M file was converted to 500M

@hucq_landray_com_cn,

Thanks for the sample code and template file.

I tested your scenario/ case using your sample code with your template file. I found an exception “java.lang.OutOfMemoryError: Java heap space” when rendering the fifth sheet. The HTML file size for the 5th sheet is zero. I even tried to extend the JVM memory but in vain.

Do you find the same exception and problem? We will log appropriate tickets after your confirmation.

we have no this exception, because we set enough memory,it convert success,but the size is 500M

@hucq_landray_com_cn,

Thanks for the confirmation.

Please try our latest version/fix: Aspose.Cells for Java v17.8.2 (attached).
Please provide the output files using v18.7.2, you may zip the files and upload to some file sharing service and share the Download link here. This will help us to evaluate your issue precisely with the artifacts and we will log the ticket for it.
aspose-cells-18.7.2-java.zip (6.4 MB)

it still has such problem,sometimes it has OOM error!sometimes it convert success,but the size is more than 500M!

@hucq_landray_com_cn,

Please try our latest version/fix (attached): Aspose.Cells for Java v18.7.6

Please provide the output files using v18.7.6, you may zip the output file(s) and upload to some file sharing service and share the Download link here. We will log appropriate ticket(s) with samples and artifacts for your issue.
Aspose.Cells for Java v18.7.6.zip (6.3 MB)

it still has such problem,sometimes it has OOM error!sometimes it convert success,but the size is more than 500M!

can you use our sample code to run it by your self??

@hucq_landray_com_cn,

  1. Yes, it still produces OutOfMemory exception with latest version/fix: v18.8.4. Do you want us to log a ticket for it, kindly confirm us, so we may log appropriate ticket for it.

  2. Regarding file size issue, as requested earlier, please provide the output files using your sample code (when successfully running it), you may zip the output file(s) and upload to some file sharing service and share the Download link here, we will check and may log another ticket for investigation.