Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Windows Forms / WinForm General / January 2005

Tip: Looking for answers? Try searching our database.

datagrid memory leak?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
cyberstrike - 03 Jan 2005 22:17 GMT
okay, I have a wierd problem. first of all, when my app loads, it uses a lot
of memory. Most of which goes away if I minimize and reopen the application.
Second problem is that I have a datagrid on the application and as long as a
mouse is moving over the datagrid, it keeps accumulating memory and never
releases it. I don't have any events that should be causing this. Also, if I
move the mouse over other parts of the form, not the datagrid, the amount of
memory used doesn't go up. The only way to release the memory is to minimize
the app and restore it.

any idea why the datagrid isn't releasing the memory?
Brandon Potter - 04 Jan 2005 05:26 GMT
Can you give some specific time frames and numbers to this?

How much memory is accumulating when the app starts, how much does it
accumulate in how much time, etc.?

Brandon

> okay, I have a wierd problem. first of all, when my app loads, it uses a lot
> of memory. Most of which goes away if I minimize and reopen the application.
[quoted text clipped - 6 lines]
>
> any idea why the datagrid isn't releasing the memory?
cyberstrike - 17 Jan 2005 15:33 GMT
yeah, if you move your mouse over the grid, it'll add about 100k for every 10
seconds you move the mouse. The app starts with 12 megs of memory, when
minimized it uses 400k, then when restored, it uses about 4000-5000k.

After a full day of not minimizing or closing it, it has been seen to lose
memory up to about 80 megs.

> Can you give some specific time frames and numbers to this?
>
[quoted text clipped - 19 lines]
> >
> > any idea why the datagrid isn't releasing the memory?

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.