We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

The library System.Drawing.Common for .Net should be replace

We have a pptx file. When convert it to pdf on Windows only 1G memory has been used. But convert it on Linux.It will take more than 3.5G memory. And the process will keep more than 2G memory don’t free.

Then we trace the problem and find that :
System.Drawing.Graphics memory leak when multi-threading on Linux
Make System.Drawing.Common only supported on Windows
System.Drawing.Common only supported on Windows

That problem looks like System.Drawing.Common caused. And .net6 will ship on november. Then the library which dependent on System.Drawing.Common 6 will not run on linux.And we checked that
Aspose.PDF - 21.8.0
Aspose.Slides.NET - 21.8.0
is dependent on System.Drawing.Common now.

Is there any roadmap or time point for replace it?


We are already working on replacing System.Drawing dependency with one of our components i.e. Aspose.Drawing. The ticket is DRAWINGNET-331 which was logged in order to integrate Aspose.Drawing with Aspose.PDF to remove System.Drawing dependency. The ticket has been linked with this post now and you will be notified once it is resolved. As far as Aspose.Slides is concerned, we will share related information with you soon.


From Aspose.Slides perspective, we will include support of .NET 6 in our roadmap which is no earlier than Q1 of 2022. We have added a ticket with ID SLIDESNET-42778 in our issue tracking system so that we may share notification with you once the support will be included.