[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: "Hunsberger, Peter" <Peter.Hunsberger@xxxxxxxxxx>
Date: Fri, 22 Feb 2002 08:45:07 -0600
vb flush memory
>     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?

This is way off topic for the list, but...   

First, if you can, you might see if you can set the pages not to cache at
all.  Any page that doesn't cache should release memory when the browser is
done with it.

Otherwise, assuming you're using IE; then, if you call it as an object you
have full access to the API for controlling and using it.  I haven't looked
at the doc's in a long time (and who knows where they are on the MS site
since they've reorganized it yet again), but I would expect that you should
be able to find a method for doing a flush on old pages, or a method for
clearing the in memory cache. 




 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.