|
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,
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,217
|
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.htmlWhen 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!
|
|
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
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,217
|
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.
|
|