We are experiencing a memory leak on our .NET server when calling Slide.GetThumbnail. There is a large amount of unmanaged memory after creating thumbnails that is never cleared (see below). image.png (49.1 KB)
This problem appears to be worse on certain computers. On our Amazon Linux EC2 with 2 CPUs and 4GB RAM, the unmanaged memory grows more slowly than on our development computer with 12 CPUs and 16gb RAM.
Here is a link to a minimal set of code that reproduces the problem: aspose-test.zip - Google Drive
edit: The powerpoint we used is in the zip file as well.
@derby,
Thank you for the additional information. I have logged the issue in our tracking system with ID SLIDESNET-42490 for further investigation. I will inform you about any progress.
We have replaced the content of our main method with the implementation you have provided. We still experience the same very high memory usage on the affected computer.
@derby,
Our development team cannot reproduce the issue. VS2019 performance profiling screenshot: vs_diag.png (23.9 KB).
Could you share your profiling session dump with a snapshot (VS2019 “Performance Profiler” or DotMemory), please?
@andrewlf,
Our development team is investigating this case. The issue is environment-specific. Investigation results will be ready not earlier than the mid of 07’21.
@bwadams,
Thank you for contacting support. This issue has not been resolved yet.
I requested information from our development team. I will let you know as soon as possible.
Hi guys, any update on this issue?
I’m facing the same issue on Slides for Java with version 21.2.
It takes about 16 Gigabytes when getting thumbanails for a 120 pages slides and makes a lot of gc.
The issue described in the forum thread has not been resolved yet.
There were many updates after version 21.2. Please check your results using the latest version of Aspose.Slides for Java if it is possible. If the issue persists, please create a new forum thread and describe the issue you are experiencing with the following data and information:
presentation file (you can zip the file and upload an archive in the forum thread)
code example or a simple project that reproduces the problem