Welcome Guest Search | Active Topics | Sign In | Register

Performance Issue on Heavy Load Options
Seydim
Posted: Friday, July 1, 2022 2:44:22 AM
Rank: Newbie
Groups: Member

Joined: 2/28/2018
Posts: 3
Hello,
We developed a web service using EO.Pdf.dll (.NET). Because rundll32.exe consumes too much memory under load, other applications on the server are also affected. They got out-of-memory errors. Is there a way to manage this load? Please your comments.
Best regards,
eo_support
Posted: Saturday, July 2, 2022 9:53:05 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,067
Hi,

You would have to reduce the load of your application. You can also set this property:

https://www.essentialobjects.com/doc/eo.pdf.htmltopdf.maxconcurrenttaskcount.html

When you set this property and if the number of concurrent task exceeds the value, any futher conversion requests will fail (throw an exception). This way it would limit the amount of resources the conversion engine uses.

Thanks!
Seydim
Posted: Friday, August 5, 2022 7:01:11 AM
Rank: Newbie
Groups: Member

Joined: 2/28/2018
Posts: 3
Hello,

Can not create additional conversion task. Please increase HtmlToPdf.MaxConcurrentTaskCount.
I know the default value is 20. We increased it because we got this error when it was 20. But the app crashed again.

It is very difficult for us to reduce the load on the application. Application flows work online. Do we have any other option to tune it?

Thank you
eo_support
Posted: Friday, August 5, 2022 10:50:01 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,067
Unfortunately no. You just have to either reduce the load (or distribute it to more servers). This is just like if you try to tune a car to load 10 people, then most likely not only you would be wasting your time, but almost certainly an accident is waiting to happen if you do manage to get all the people to fit in. So trying to "tune it" in this case is definitely the wrong direction.


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.