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…...Words for C++ Aspose.Words Product Family danieltobey...as it runs: #include <Aspose.Words.Cpp/Model/Document/Document...