Welcome Guest Search | Active Topics | Sign In | Register

Destroy and recreate webview error Options
Louis
Posted: Monday, November 21, 2016 3:52:37 AM
Rank: Advanced Member
Groups: Member

Joined: 6/20/2016
Posts: 32
I am performing various automation tasks and after a while I am getting the error "One of the child processes used by EO components reported an out of memory error."

So what I am trying to do is destroy and recreate the webview to free up the used resources. This has worked for me in the past, but for some reason not anymore. Hopefully you can shed some light on this.

First, I call webView1.Destroy() and the webView1.Closed event handler is successfully triggered. In that handler I just recreate the webview again by just calling webView1.Create(picBrowser1.Handle) ... the same way I created it originally.

However right after when I try to navigate anywhere (or just hit an Application.DoEvents statement), the EO.Base.Runtime.Exception handler is triggered with the message "Object reference not set to an instance of an object.".

Am I doing something wrong?
eo_support
Posted: Monday, November 21, 2016 11:16:02 AM
Rank: Administration
Groups: Administration

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

You can try to set this property to true instead and see if it helps:

https://www.essentialobjects.com/doc/eo.base.runtime.enablelargeaddressspace.aspx

Thanks!
eo_support
Posted: Wednesday, November 23, 2016 5:27:04 PM
Rank: Administration
Groups: Administration

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

This is just to let you know that we have been able to reproduce this problem. This will be fixed in our next build.

Thanks!
eo_support
Posted: Thursday, December 8, 2016 2:24:32 PM
Rank: Administration
Groups: Administration

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

We have posted build 16.2.93.0 that should fix this problem. You can download it from our download page.

Thanks!


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.