Rank: Newbie Groups: Member
Joined: 9/12/2016 Posts: 4
|
Hi, I have a problem with EO.WebBrowser for .Net and some memory hungry web pages.
I have enabled EO.Base.Runtime.EnableEOWP in my initialization code, avoiding to include eowp executable file in the distribution so the process is created on the fly in the user temporary folder.
I suppose eowp.exe could handle up to 4Gb of memory but every pages that allocate more than 800-900 Mb (looking at eowp.exe in the process monitor) are interrupted with the error: “EO.Base.ChildProcessOutOfMemoryException: One of the child processes used by EO components reported an out of memory error”.
There’s a way to use more memory and avoid the related exceptions ?
Thanks Regards Alessandro Passarotto
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,225
|
Hi,
Unfortunately no, there is no way to avoid that. eowp.exe does have 4GB memory space but very often the available memory space are fragmented after a while, thus leaving no big area of continuous memory space. When this occurs and the application tries to allocate big chunk of memory space, the allocation will fail and you will receive this exception. So the only way is to optimize your web page so that it uses memory more conservatively.
Thanks
|