M
Matthias S.
I'm using C#Express Beta and the framework 2.0.
I recently realized that my application, when starting has a workingset
peak of ~128 MegaB. I startet wondering a bit because the application
didn't yet do anything really usefull.
So I fired up the IDE, created an empty WinForms project and compiled a
release build. Please note that I have not added any extra code! Here is
what I have figured out:
1. On launching the resulting exe, the TaskManager shows a workingset of
~70 MegaB.
2. When I minimize the MainForm window the workingset shrinks to ~400 KiloB.
3. Maximizing the window again results in a workingset of ~1460 KiloB,
which I could live with.
Does anyone have an idea how to go on about this?
BTW.: Is there a way to monitor in detail what and where and how your
application is using up the memory? I have a monitor to get information
as of what modules are loaded, but is ther a way to figure out of what
classes or resources are taking up the space?
Any pointers are highly appreceated.
Thanks in advance,
Matthias
I recently realized that my application, when starting has a workingset
peak of ~128 MegaB. I startet wondering a bit because the application
didn't yet do anything really usefull.
So I fired up the IDE, created an empty WinForms project and compiled a
release build. Please note that I have not added any extra code! Here is
what I have figured out:
1. On launching the resulting exe, the TaskManager shows a workingset of
~70 MegaB.
2. When I minimize the MainForm window the workingset shrinks to ~400 KiloB.
3. Maximizing the window again results in a workingset of ~1460 KiloB,
which I could live with.
Does anyone have an idea how to go on about this?
BTW.: Is there a way to monitor in detail what and where and how your
application is using up the memory? I have a monitor to get information
as of what modules are loaded, but is ther a way to figure out of what
classes or resources are taking up the space?
Any pointers are highly appreceated.
Thanks in advance,
Matthias