Problem:
Memory Leak issue in Aspose.Pdf.Document.Save method that takes MemoryStream as argument.
Versions:
NET 7.0 ConsoleApp → Include=“Aspose.PDF” Version=“24.2.0” (Tried with other versions up to latest 24.5.1)
Reproduce:
Example consoleapp is provided in this repository.
Removing FloatingBox is fixed the issue, this could be a start point to investigate…
@Atakin
How do you determine that memory leaks are occurring?
1 Like
Problem first occured in web api implementation, after some time, server gets out of memory.
Same behaviour can be seen on console app implementation as provided.
image.png (98.4 KB)
@Atakin
In my opinion, the problem manifests itself in hanging (memory leaks probably appear when a process is forced to close).
Thank you for the data provided - I will create a task for the development team.
1 Like
@Atakin
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): PDFNET-57241
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.
1 Like