Is there a memory leak after aspose.words opens the file?

I found that the opened file pointer did not release its corresponding memory after it went out of scope. After opening the file every time, you can see that the process memory continues to increase in the task manager. Is there a memory leak? The sample code is as follows:

int main()
{
    while (true)
    {
        std::this_thread::sleep_for(std::chrono::milliseconds(2000));

        {
            auto doc = System::MakeObject<Document>(u"template.docx");
        }
    }
    
}

@dage123 Could you please attach the problematic document here for testing? We will check it and provide you more information.

Any file can be used. The larger the file, the more obvious the memory change will be.
Below are the files, code and print information I used for testing when the program is running.

aspose.words_test.zip (136.7 KB)

============ [template_2.docx]
>quickstart.exe
Physical Memory Used: 81 MB
Physical Memory Used: 130 MB
Physical Memory Used: 178 MB
Physical Memory Used: 227 MB
Physical Memory Used: 275 MB
Physical Memory Used: 323 MB
Physical Memory Used: 372 MB
Physical Memory Used: 420 MB
Physical Memory Used: 468 MB
Physical Memory Used: 516 MB
Physical Memory Used: 564 MB
Physical Memory Used: 612 MB
Physical Memory Used: 660 MB
Physical Memory Used: 709 MB
Physical Memory Used: 757 MB
Physical Memory Used: 805 MB
Physical Memory Used: 853 MB

=========== [template.docx]
>quickstart.exe
Physical Memory Used: 32 MB
Physical Memory Used: 33 MB
Physical Memory Used: 34 MB
Physical Memory Used: 35 MB
Physical Memory Used: 36 MB
Physical Memory Used: 36 MB
Physical Memory Used: 37 MB
Physical Memory Used: 37 MB
Physical Memory Used: 38 MB
Physical Memory Used: 39 MB
Physical Memory Used: 39 MB
Physical Memory Used: 40 MB
Physical Memory Used: 40 MB
Physical Memory Used: 41 MB
Physical Memory Used: 42 MB
Physical Memory Used: 42 MB
Physical Memory Used: 43 MB
Physical Memory Used: 43 MB
Physical Memory Used: 44 MB
Physical Memory Used: 44 MB
Physical Memory Used: 45 MB
Physical Memory Used: 46 MB
Physical Memory Used: 46 MB

@dage123
We have opened the following new ticket(s) in our internal issue tracking system and will deliver their fixes according to the terms mentioned in Free Support Policies.

Issue ID(s): WORDSCPP-1250

You can obtain Paid Support Services if you need support on a priority basis, along with the direct access to our Paid Support management team.

@dage123 Unfortunately, there are no news regarding the issue yet. Currently the issue is in the queue for analysis. Once analysis is done we will be able to provide you more information.