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

Free Support Forum - aspose.com

Convert PDF to DOCX C++ - Memory consumption of Aspose.PDF for C++

Tested version: Aspose.PDF.Cpp.19.11 x64 Releae

Here is my test code

void testConvert() {
auto doc = MakeObject(u".\Pdfs\input.pdf");
doc->Save(u"savepdfxxx.docx", SaveFormat::DocX);

Memory using will increase at least 15mb when I run this code once.


Thank you for contacting support.

Please note that Document Object Model (DOM) of Aspose.PDF for C++ API and other resources are loaded into memory while processing a PDF document so this might not be a memory leak. However, if you still observe huge memory increases then please share sample PDF document so that we may try to reproduce and investigate it accordingly.

input.pdf (283.9 KB)
Concat1.pdf (124.8 KB)

I tested these two files. You can try it yourself.


Thank you for sharing the files.

We have logged an investigation ticket with ID PDFCPP-1144 in our issue management system and will let you know once any update will be available in this regard.


OK, Thanks.



A few days past.
Any news?



We regret to share that no progress has been made yet towards ticket resolution as it was logged under free support model where tickets have low priority and are resolved on first come first serve basis. We will surely inform you as soon as we have some significant updates regarding ticket resolution. Please spare us little time.

We are sorry for the inconvenience.


Ooh! Thanks.