"Haim" <haim_lz@hot.com> schrieb:
> I am writing an application in C#, VB.NET which basicaly
> has a form with a few pictureBoxes on it and a TabControl
[quoted text clipped - 4 lines]
> The thing is - this application can take up to 40,000KB
> of memory!!!
How many controls are you using? Are you displaying images?
> One more thing: I did some tests and noticed that even a
> simple form with nothing on it can take up to 15,000KB ,
> am I doing something wrong???
That's OK. Remember that the CLR and some larger libraries are loaded for
Windows Forms applications. Don't worry about that too much.

Signature
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/
This application is tested to run on terminal servers and
as such this memory usage is unacceptable, one of the
main concerns when using a terminal server is how much
memory each application consumes. Imagine 20 users, each
using this application - that would mean almost Giga of
memory usage for this application alone!
yes, I have more than a few pictures in the final version
but 40MB of memory is just too much.
I understand that for each dll I'm using in my project
the run time loads the same namespaces
(System.windows.forms for example) again and again. is
there a way to share and load each namespace only once?
Thanks again
Haim.
>-----Original Message-----
>"Haim" <haim_lz@hot.com> schrieb:
[quoted text clipped - 15 lines]
>That's OK. Remember that the CLR and some larger libraries are loaded for
>Windows Forms applications. Don't worry about that too much.