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 / .NET Framework / Performance / October 2004

Tip: Looking for answers? Try searching our database.

Huge memory usage problem.

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Haim - 28 Sep 2004 09:51 GMT
Hello all,
I have a windows form application which has a simple
buttons toolBar, menuItem and a tab control with 3 tab
pages each holding a treeView and a listView.
When I checked to see how much memory usage my
application demands I was surprised to see that even when
the treeViews and listViews are empty my application
takes about 25,000Kb (25M)!!! of memory usage!
How can this be?
Anyone with any idea as for what can cause such a thing?
Just a simple comparison: Outlook 2003 which I understand
is a .NET application takes up about 15M of memory usage
and its obvious that this is a much bigger application
then mine.
I know its hard to help me without examining my
application but it would help me a lot if someone would
just throw a few ideas...

Thanks,

Haim.
David Browne - 28 Sep 2004 14:51 GMT
> Hello all,
> I have a windows form application which has a simple
[quoted text clipped - 5 lines]
> takes about 25,000Kb (25M)!!! of memory usage!
> How can this be?

That's about right.  As your application gets bigger your memory usage won't
keep increasing at the same rate.

> Anyone with any idea as for what can cause such a thing?
> Just a simple comparison: Outlook 2003 which I understand
> is a .NET application

You understand wrong.  Outlook is not a .NET application.

David
Cablito - 04 Oct 2004 20:04 GMT
Load lots of applications until your system memory runs low.

Your 25MB EXE will for your surprise "shrink" its memory size.

Also another important issue is RAM is not bought to remain free, its meant
to be used.

> Hello all,
> I have a windows form application which has a simple
[quoted text clipped - 17 lines]
>
> Haim.

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.