[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: memory leak problem with browser component in VB

Subject: Re: memory leak problem with browser component in VB
From: "Thomas B. Passin" <tpassin@xxxxxxxxxxxx>
Date: Fri, 22 Feb 2002 10:33:50 -0500
webbrowser memory leak
[Soorya M.S]

>     I have an application that contain a Webbrowser
>  component to load html pages. When I navigate through
>  htmls the memory usage of my application is increasing. It
>  is not deallocating the memory after a long time also.
>      But when I minimize my application the unused memory
>  got freed and application memory used got decreased. But
>  in my application i cannot do minimize as that button
>  should be disabled(Its a strict requirement). Is there any
>  other way to deallocate the memory used by the browser
>  component?
>     Any information related to this will be very helpful
>  for me
>  thanks and regards

I don't think this actually indicates a memory leak, at least not on the
tests I did on my system.  I have observed behavior like this, too, and
noticed a decrease in reported memory use (that is, reported by the Windows
Task Manager on Windows 2000).  But I also noticed that when I restored the
window, the memory usage went back up similar to what it had been before
being minimized.

My guess is that the browser allocates memory and doesn't give it back (at
least, not right away), but this is not the same thing as a memory leak.
The browser seemed to use that same memory for other pages when they were
loaded.  I think I'm talking about Mozilla, if I recall correctly, and I
think I saw the same behavior on minimize/restore on IE (but my memory is a
bit hazy here).

I've also seen similar behavior on minimize/restore on a java program, so it
may be a Windows thing. It may only indicate something about how Windows
reports memory in use.

Cheers,

Tom P


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.