Memory usage of application increasing automatically !

I have made a simple windows GUI application in VB.NET.
There are combobox, buttons,menu and text box on my application form.
The strange thing is as I move my mouse on my application form or move the focus from one control to another using Tab, then the memory usage seen in task manager for my application goes on increasing. There is no mousemove or tab focus change handler in my code. The memory usage continuosuly keeps on increasing as long as I am moving the mouse.
Please let me know the reason for this and any solution/work around to avoid this behavior.
[579 byte] By [vishaldedhia] at [2007-12-16]
# 1
Looks like you experience the so called memory leak in the managed word. Usually it happens when you create new instances constantly and you keep some how reference from older (Gen2) object in your code. There is a code sample of such a behavior on the site: http://www.automatedqa.com/techpapers/net_allocation_profiler.asp
As you can see from the site the best way to nail the problem is by using a memory profiler.
Besides the one on that site there is another popular one at:
www.scitech.se/memprofiler/
Also the MS guys recommend the CLR Profiler which you can find it in the MSDN section of MS site.
However it sounds really odd that the leaks comes from mouse movement and you do not have a single mouse event attached on it.
PLease supply a code snapshot of your code, ot atleast the section of the mouse code.
Hope you found the links above helpful.
PetarPetrov at 2007-9-9 > top of Msdn Tech,.NET Development,.NET Base Class Library...
# 2
Vishal, also consider raising this issue in the Wondows.Forms forum: it might be a known issue.

Kit

KitG at 2007-9-9 > top of Msdn Tech,.NET Development,.NET Base Class Library...
# 3

Hi Vishal,

I am too searching for this solution.

Did you managed to find it anywhere?

Please visit the link, might helpful to you

http://support.microsoft.com/Default.aspx?kbid=919481

Kishor

Kishor_Tripathy at 2007-9-9 > top of Msdn Tech,.NET Development,.NET Base Class Library...

.NET Development

Site Classified