Perhaps I don’t understand how to use SharedPtr and MakeObject, but the Visual Studio resource monitor shows this code using up lots of memory as it runs:
#include <Aspose.Words.Cpp/Model/Document/Document.h>
using nam…...System::SharedPtr<Document> doc; while ( true ) { doc = System::MakeObject<Document>(..."My Doc In.docx" ) ); doc->Save( System::String( "My Doc Out...