Solved

Memory leak in TWebBrowser

Posted on 2001-06-29
3
1,020 Views
Last Modified: 2012-05-04
There seem to be a substantial memory leak in TWebBrowser. I have ~10K webadresses, and when navigating to them one at a time, my applications memory usage just keep going up. Tests have shown that it is indeed TWebBrowser that is the problem.

I have tried this solution

http://groups.yahoo.com/group/delphi-webbrowser/message/11

but it didn't help. Either it didn't solve my leak, or I did something wrong when implementing it.

Anyone have a solution to this leak? Both code and links appreciated!
0
Comment
Question by:pede
  • 2
3 Comments
 
LVL 17

Expert Comment

by:inthe
ID: 6239041
hi,
not really a solution for the memory leak but one thing ive used before is to create and free the browser at runtime ,maybe you could do this after each 10-20 urls ..
(i have a example for creating and freeing if you need it)
0
 
LVL 1

Expert Comment

by:Moondancer
ID: 6772772
Greetings, pede:

I see that you logged in as recently as 01/29/02, but have not finalized or updated your open questions.  You have asked 59 of them and only closed/awarded 47 of them.  Of those you've closed, 10 of them were stuck against userid-1 rather than actually experts receiving them due to the JSP-500 errors of that time frame, and I have corrected all of them for you today so that the intended experts finally get these points and have validated your pointsas well.  I will post this information in all your open questions so that you can quickly and easily navigate through them and update them.  If you've been helped, please award the expert who helped you to close them.  If more is needed, please add comments with details.  In the event more than one expert helped you, let us know the expert name and points you wish to give them so that we can help you with Points Splits.  

This information is helpful in terms of this site's Guidelines, Member Agreement and the Question / Answer process.  Also, any time you need our help, just post a zero point question in the Community Support topic area with your request along with the question link.  Here are the links to Community Support and the site related information links:

http://www.experts-exchange.com/jsp/qList.jsp?ta=commspt
http://www.experts-exchange.com/jsp/cmtyHelpDesk.jsp
http://www.experts-exchange.com/jsp/infoMemberAgreement.jsp
http://www.experts-exchange.com/jsp/cmtyQuestAnswer.jsp
http://www.experts-exchange.com/jsp/infoWhatsNew.jsp

These are all your OPEN QUESTIONS which require your attention and in which this update will be posted:  Please note, some are so old, they date back to the year 2000 in which the question sort order is not in the normal comment date order, but rather in userid order, so special attention needs to be paid to them in determining the first/best response given.

http://devx.experts-exchange.com/jsp/qShow.jsp?qid=11642038
http://devx.experts-exchange.com/jsp/qShow.jsp?qid=20035846
http://devx.experts-exchange.com/jsp/qShow.jsp?qid=20073357
http://devx.experts-exchange.com/jsp/qShow.jsp?qid=20085988
http://devx.experts-exchange.com/jsp/qShow.jsp?qid=20089161
http://devx.experts-exchange.com/jsp/qShow.jsp?qid=20113284
http://devx.experts-exchange.com/jsp/qShow.jsp?qid=20114689 (Open for ZERO points)
http://devx.experts-exchange.com/jsp/qShow.jsp?qid=20123640
http://devx.experts-exchange.com/jsp/qShow.jsp?qid=20143252
http://devx.experts-exchange.com/jsp/qShow.jsp?qid=20158158
http://devx.experts-exchange.com/jsp/qShow.jsp?qid=20165237
http://devx.experts-exchange.com/jsp/qShow.jsp?qid=20165903
http://devx.experts-exchange.com/jsp/qShow.jsp?qid=10206933


Some of your questions are open for low or zero points, help given and still not awarded.  When you check the links I provided above, you'll find that the recommended value for EASY questions is 50 points, and the maximum for difficult questions is 300 points.  You can increase the value of any of them yourself without Moderator help to draw more attention, if that is needed.

Your response in updating and closing all your open questions is not only appreciated, but necessary.  I have sent this information to Administration.

Thanks,
Moondancer
Community Support Moderator @ Experts Exchange
0
 
LVL 1

Accepted Solution

by:
Moondancer earned 0 total points
ID: 6780356
pede logged in after this request was posted and chose not to respond.

I have refunded 50 points for this question and moved it to the PAQ at zero points to close it.  Administration has been advised.

Moondancer
Community Support Moderator @ Experts Exchange
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Reading complex type element repeats first one found several times 3 38
Delphi cmd execution 6 55
find a node in VST 2 62
Firemonkey android show image from resource ? 1 30
The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

947 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now