Newsgroups : Borland : borland.public.delphi.internet.winsock : 2007 Apr : TWebBrowser & IE Memory Leak

www.cryer.info
Managed Newsgroup Archive

TWebBrowser & IE Memory Leak

Subject:TWebBrowser & IE Memory Leak
Posted by:"Bear" (be..@nobody.com)
Date:Thu, 5 Apr 2007 21:56:54

Hi All,

I found that each time IE/TWebBrowser navigate to a very simple HTML page,
the memory and visual memory usage will increase a little (2K - 2M).   The
increment part should be freed before it navigate to a new page. But it does
not.

So if we navigate to several pages 100 times, the memory count will be very
high.
And we can free the working set memory by API call or minimize the window,
but the visual memory is still very high, and then 2-10 hours later, the
system will say,

"The size of visual memory is too low" etc..

It is a IE memory leak bug, right?
How to avoid this or free the visual memory it "used"?


Bear

Replies:

www.cryer.info
Managed Newsgroup Archive