Memory Leakage in Windows Application

  • Thread starter Thread starter PVV30
  • Start date Start date
P

PVV30

Hello,

Can anyone guide me to a site where I may get list of all
controls that cause Memory Leakage in Windows Application
build using Frmaework1.0

Through various forums, I have foud out that following
controls have problem:

1. DateTimePicker - Gets associated with some
SystemEvents.UserPreferencesChanged resulting in leakage.
http://www.error-
bank.com/microsoft.public.dotnet.framework.windowsforms.con
[email protected]_Thread.aspx

2. Context Menu [FORUM, accepted by MS guys]
3. Numeric Up Down [FORUM]
4. DataTable.Select using "IN" operator as expression.
[MSDN]
4. For Each Loop [FORUM]

Following professional has been responding to lot of
queries on forums - Ying-Shen Yu [MSFT] Microsoft Online
Partner Support.

The application we are developing is resulting in lot of
memory leakage. Even after invoking Dispose methods,
releasing references not much is gained.

If any such resource is available it may help us in
identifying where we are going wrong.

Regards,
PVV30
 
PVV30 said:
4. For Each Loop [FORUM]

Can someone give me a pointer to the thread that discussed this one? I'm
afraid a search for "for each" is going to return wildly useless results :-)
 
PVV30 said:
Hello,
You may refer following links for discussion on "For Each"
usage in VB.Net

http://groups.google.com/groups?hl=en&lr=&ie=UTF-
8&frame=right&th=ebf820c6cfc03fda&seekm=XkjAWerfCHA.2220@cp
msftngxa09#link4

http://www.gotdotnet.com/community/messageboard/Thread.aspx
?id=67066&Page=1

OK, well based on that it appears the problem is _not_ with For Each,
but rather with Microsoft.VisualBasic.Collection. That I can live with,
as I don't use them anymore, I create my own strongly-typed collections
anyway. Thanks for the pointers.
 
Back
Top