High Memory Consumption when Saving PowerPoint Presentation in C#

Thank you for your reply,I have try to use your suggestion but it‘s without effect.

My example like this:

LoadOptions loadOptions = new LoadOptions
{
    BlobManagementOptions = new BlobManagementOptions
    {
        PresentationLockingBehavior = PresentationLockingBehavior.KeepLocked,
        MaxBlobsBytesInMemory = 1 * 1024 * 1024,
        IsTemporaryFilesAllowed = true
    }
};

I think there is no ‘big object’ in my ppt file.
I want to know why many Gen2 objects are generated after opening the ppt file.
It is difficult to release Gen2 objects, which eventually leads to memory rising.

The dockfile content as below:

FROM registry.edoc2.com:5000/edoc2v5/dotnet3.1-deps:runtime-deps-3.1-debian11-fonts-20211026
ARG source

WORKDIR /app
EXPOSE 6261
COPY ${source:-obj/Docker/publish} .


ADD docker-entrypoint-transport.sh /scripts/docker-entrypoint-transport.sh
RUN chmod +x /scripts/docker-entrypoint-transport.sh

RUN apt-get update
RUN apt-get install -y libgdiplus
RUN cd /usr/lib && ln -s libgdiplus.so gdiplus.dll
RUN apt-get update && apt-get install -y --no-install-recommends libc6-dev
RUN chmod +x ./MCode64
ENTRYPOINT ["/scripts/docker-entrypoint-transport.sh"]

The ppt file download url:https://v5.edoc2.com/outpublish.html?code=Aaa582bc111fe4d43a8d6fc0c1cbfc078&lang=zh-cn#view

@celerycabbage2022,
Thank you for the additional information.

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): SLIDESNET-43794

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.

I find a possible reason that causes memory rise when open the pptx file is the pptx file contains .svg file.

@celerycabbage2022,
Thank you for your help. I added your information to the issue ticket.

Is there any new progress.

@celerycabbage2022,
Unfortunately, the issue has not been scheduled for investigation yet. We apologize for any inconvenience.

Please make arrangements as soon as possible, thank you.

@celerycabbage2022,
Our development team will do their best to resolve the issue as soon as possible.

Hi,Is there has any progress this week.

@celerycabbage2022,
I requested plans for the issue from our development team for you. We will let you know ASAP.

Has the development team started to deal with this problem.

@celerycabbage2022,
I am still waiting for a response from our development team.

Hi,Is there has any progress.

@celerycabbage2022,
Unfortunately, I don’t have any news for you yet.

The problem has been for a long time.Is there no progress at all?

@celerycabbage2022,
I am still waiting for a response from our development team and will notify you of any progress.

Hi,Is there has any progress.

@celerycabbage2022,
I requested plans for the issue from our development team again. I will let you know about them as soon as I get a response. Thank you for your patience.

@celerycabbage2022,
Actually, this is a “normal” memory consumption at the moment, because there are a lot of resources in the presentation and we deserialize the whole model at once.

The issue has been blocked by another issue: partial loading of large presentations into memory. This is a priority issue and our developers will do their best to resolve it.

You mean after resolve partial loading of large presentations issue,my issue will be resolved automatic?