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.