Hi Eddie,
We have resolved the memory leak problem. But the memory usage is high and the performance is not ideal. I can explain why.
Firstly, the xml is very large. It has 173,883 lines. The corresponding pdf object of 7845 sections and each section contains a table of 5 rows. This pdf has more than 1000 pages after conversion.
Secondly, in Aspose.Pdf, we write the paragraph into file after all the paragraphs are positioned. During this time, all of these paragraphs will be cached in memory. One more thing, it is a memory expensive job to position tables. As table is more complicated than text, so we recommend you use text rather than table, if possible.
We will send you an update which will resolve the memory leak problem shortly. But for a complete solution, we have to redesign our codes and need about 2-3 months. As a workaround, please use text, if possible. Sorry for inconvenience.
Thanks.
Hans Zhang
Product Developer
Aspose Changsha Team
About UsContact Us