Open GoogleCodeExporter opened 9 years ago
Try to reinstantiate the controls at some regular interval. Make sure to call
Dispose() on the removed controls, mabe even call GC.Collect() to make sure
memory is
freed.
Original comment by manixr...@gmail.com
on 6 May 2008 at 1:36
The work around with reinstantiate works fine when I use the "original"
WebBrowser
control.
But when I use the csExWB Control I still have the problem - memory usage gets
higher and higher, if my test application does nothing else than call the
Navigate
method. The control is reinstantiated after every 4 navigate calls and after
that
the GC.Collect() method is called.
Original comment by m...@singer-family.de
on 7 May 2008 at 7:31
Are you using the debug build of the ComUtilities.dll?
Are you using the debug build of the csEXWB control?
Are you running the DemoApp in VS IDE or a in debug build?
Do you have a memory tracking and analyzing tool other than task manager which
does
only displays memory usage but no details?
MH
Original comment by mehr...@gmail.com
on 8 May 2008 at 10:15
I am using the release build of the ComUtilities.dll.
I have tried debug and release builds of CSExWB Control and the DemoApp. If
have
startet them from windows explorer as well as from VS IDE. It´s always the
same
behavior.
I have installed a 14 day trial version for .NET Memory Profiler. But I am I
afraid
that´s one (or more) level to high for me... So many features, options and
values.
Original comment by m...@singer-family.de
on 9 May 2008 at 4:29
I did place a DocumentComplete event handler in the frmAutomation of DemoApp as
you
described:
void cEXWB1_DocumentComplete(object sender, csExWB.DocumentCompleteEventArgs e)
{
this.cEXWB1.Navigate("http://www.google.de");
GC.Collect();
}
And ran some tests using a release build of ComUtilites, csExWB, and DemoApp
under
WinXP Pro sp2 with IE7 (include latest updates).
I did not observe any memory leaks. All this code did was to make the
application
non responsive due to continous calls to navigate.
If the code that I am using is incorrect or I am missing something, please show
the
code that you are using.
Please keep in mind that unless I can reproduce the issue, I can not offer any
advice.
MH
Original comment by mehr...@gmail.com
on 9 May 2008 at 7:05
I have extracted the archive
(http://csexwb2.googlecode.com/files/csExWBv2.0_Includes_ComUtilities.zip)
again so
be sure not have any unwanted changes. Then I added the following event handler
to
the frmAutomation form:
private void cEXWB1_DocumentComplete(object sender,
csExWB.DocumentCompleteEventArgs
e)
{
if (!e.istoplevel)
return;
this.cEXWB1.Navigate("http://www.google.de");
GC.Collect();
}
I started the release build. The Memory usage shown in the task manager at
start was
about 54MB. After 2 minutes it raised to about 58MB.
What I forgot to mention: I am using Visual Studio 2008. Perhaps there was any
problem during initial projekt conversion?
Or do you have any futher ideas?
Original comment by m...@singer-family.de
on 10 May 2008 at 2:33
I'm also tracking a memory leak ...
I've found some missing "delete" in the ComUtilities : pbuf is not deleted in
CManagedAppBridgeSink::ReportProgress and
ManagedAppBridgeSink::BeginningTransaction.
I added them but I still notice a memory leak.
MH, if you're still interested in reproducing this issue, I can send you some
info by
email.
Regards,
Claire
Original comment by claire.a...@gmail.com
on 17 Jul 2008 at 9:07
Thank you. I will add the missing delete and necessary checks for the buffer.
And please send me the info as I am always interested in improving this control.
Regards,
MH
Original comment by mehr...@gmail.com
on 17 Jul 2008 at 10:13
when Navigate more then 500 html pages,the memory usage gets higher and
higher.just
as the problem as them found.
what can i do?
Regards
Original comment by linx2...@gmail.com
on 25 Oct 2009 at 3:22
Hi,
I'm experiencing the same problem. I got 4 webbrowser controls. All download
options
like image and video are set to 'false'.
Also only doing some 'webbrowser.navigate();'
Has this been fixed yet?
Original comment by A.Bouchl...@gmail.com
on 14 Mar 2010 at 2:56
When I create the browser objects one by one the memory stats increase.
Is this solved?
Original comment by farho...@gmail.com
on 22 Jul 2010 at 12:40
expecting absolutely the same issue. Any help?
Original comment by o.kru...@gmail.com
on 22 Oct 2010 at 2:06
I also expect this problem!
please help!
Original comment by o.kru...@gmail.com
on 31 Jan 2011 at 2:33
i have noticed if set DownloadScripts=false;
there is no memory leak at all. hope it help somehow...
I am ready to pay to someone who solve that issue for me
write me email o.krulik@gmail.com
Original comment by o.kru...@gmail.com
on 31 Jan 2011 at 2:37
Creating new instances keep memory increasing like anything.
Is there any solution available?
Original comment by farho...@gmail.com
on 10 Sep 2013 at 2:06
Original issue reported on code.google.com by
m...@singer-family.de
on 2 May 2008 at 11:49