[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
> 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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|