GroupDocs.Conversion .NET of PDF caused OOM

we bought the license for the conversion library but we experienced very very bad performance using the library. we tried converting pdf file of 50MB and our memory sky rocketed to 6GB. our services crashed experiencing OOM exceptions and we had to revert the usage of the library
we use GroupDocs.Conversion version 25.8 using .NET
this is the start of the conversion before hitting 6-7GB while only processing this file

image.png (26.0 ק״ב)

image.png (17.7 ק״ב)

Adding an example pdf here. But you can take any large pdf you have, and from our experience the memory jumps no matter what file.

Adding the code here:
image.png (44.9 KB)
When calling the .Convert() function, the memory goes up drastically

Hello @dangilboa ,

We are sorry to hear that you encountered this issue. We have registered your request in our tracking system under the ID CONVERSIONNET-7970 and have started investigating the situation. As soon as we have any updates, we will let you know right away.

2 Likes

Hey Evgen,
In addition to the jump in memory usage (which I see for small pdf’s aswell) I also see that the memory doesn’t come back down after leaving the scope of the conversion, which leads me to believe there also might be some memory leak. Please take a look at that aswell
Thanks,
Dan

@dangilboa ,

Thank you for the clarification, we will investigate this.

2 Likes