I have verified from our issue tracking system and regret to share that issue is blocked owing to internal limitations and an internal issue has already been created for this. We request for your patience till the time the issue gets resolved.
We are sorry for your inconvenience,
I’m also facing same issue with Aspose.Slides.dll (But it’s .NET version) v17.7.
In my case, initialization of Presentation class object consumes 4 to 6 times of original size of PPTX file. For Instance, if the file size is 100Mbs, it takes ~500Mbs in memory.
It very a critical issue especially when someone is utilizing this library on a server, and client frequently send large PPTX files (e.g. 300 to 600MBs) to parse some data. This easily spikes the server memory and slows it down.
PS. I tried to log this issue on Paid Support but it didn’t allow me to create one (probably) due to a bug/defect.
I have observed your requirements and like to share that when you load presentation file using Aspose.Slides, the DOM (Document Object Model) gets loaded in memory, where every slides and their respective shapes along with all effects gets loaded. All data structures and variables gets loaded in memory. This is not possible that a 100 MB file shall take 100 MB in memory when loaded using Aspose.Slides.
As far as paid support service is concerned, I request you ti please visit this link again to log Priority support issue.
Thanks @mudassir.fayyaz for a quick response.
We understand that a 100MB file could take more than 100MBs in memory given the current architecture. But can we expect some optimization in terms of memory consumption in future, using, lets say, lazy loading techniques?
We observed that when we open a PPTX file in PowerPoint that contains embedded videos, PowerPoint doesn’t load the video(s) into the memory until the video is played. And when the videos is played, only that video is loaded into the memory. However, in Aspose.Slides case, it looks like all video elements are loaded in the memory at the time of initialization.
We tried the link you provided for priority support but it’s still not working. Error details are logged here:
I have observed your following comments:
I like to share that we have added an issue with ID SLIDESNET-38462 in our issue tracking system to provide the support for partially loading the huge presentation files using Aspose.Slides. This features when available will certainly be helpful.
I like to share that since Aspose.Slides for .NET 17.7, we have added support for loading and exporting blobs data (including video) in presentation. Please visit documentation article, Add Blob in presentation for reference.
this issue is happening very often in my app. Can I expect any update on this soon?
I have observed your comments and regret to share that at present the issue is still unresolved. We request for your patience till the time the issue gets resolved.
The issues you have found earlier (filed as SLIDESJAVA-35930) have been fixed in this update.