Hi Raj,
Please accept our apologies for inconvenience on your end. I will try to answer your queries step by step.
epochweb:Hello Aspose:
What does reduced memory consumption by 35% mean?
In the last build it actually consumed more memory and failed to upload two presentations.
Actually, initially you have provided us the presentation shared over this link and it was giving OutOfMemory exception on loading. The presentation was a huge one with a size of approximately 304 MB. An issue with ID SLIDESNET-38237 was logged for this presentation and it has been resolved in Aspose.Slides for .NET 17.2.0. There was improvement of 35% lesser memory consumption for this presentation in mentioned release. Later, you have shared three more presentations for which you have mentioned that they too were having same issue of OutOfMemory Exception. The presentation included:
- Large Video File Test1.pptx (677 MB)
- Large Video File Test Two.pptx (510 MB)
- Large Video File Test Five.pptx (768 MB)
These are even bigger than the presentation that have been shared in issue SLIDESNET-38237. A new issue with ID SLIDESNET-38427 was created in our issue tracking system to investigate and resolve the issue related to exception on loading of above presentations.
epochweb:Hello Aspose:
We’re asking that Aspose “release used memory”
after a period of time we can set or after processing is complete. If
the memory is released by Aspose, this application can function and
without frequently memory getting exhausted.
For your inquiry related to release of used memory, I like to mention that the details have been listed in issue ID SLIDESNET-38427 for consideration and resolution. Moreover, we have received requirements of partial loading of presentations in memory to avoid memory consumption issues from other customers as well. A separate issue with ID SLIDESNET-38462 has been added in our issue tracking system as new feature request to provide this support as well. Once partial loading support will be available, a lot of memory consumption will get resolved. I have linked this thread with all issues so that you may be automatically notified once the issues will be fixed.
I also suggest you to please try loading the presentation inside using block so as compiler may automatically free up the memory once block of
code gets executed. It may aid a little in your implementation as well
if you are not adopting this technique.
using(Presentation pres=new Presentation(“test.pptx”)) { }
We can understand the issue on your end and will try our best to share further feedback with you as soon as possible. But when dealing with loading issues of huge presentations, it may take some time. We will really appreciate your patience in this regard.
Many Thanks,