Memory Usage Problem

  • Thread starter Thread starter 2003et
  • Start date Start date
2

2003et

My program uses 200 radio button, 20 panel and about 150 textbox... But I
cannot understand its memory usage... It uses about 30 MB while it is
running without any db connection or something else...

Do you have any idea?

Thanks...
 
A good part of this is because of the CLR itself, which is managing
memory for you, and providing garbage collection services, etc, etc.

I think when last checked, a program without anything in it (a blank
form) took about 20MB of memory.

What you are seeing is normal. I hope that all of these UI elements are
not on one form!

Hope this helps.
 
hmmms...

All those components are on one form... Is this the reason?




Nicholas Paldino said:
A good part of this is because of the CLR itself, which is managing
memory for you, and providing garbage collection services, etc, etc.

I think when last checked, a program without anything in it (a blank
form) took about 20MB of memory.

What you are seeing is normal. I hope that all of these UI elements are
not on one form!

Hope this helps.


--
- Nicholas Paldino [.NET/C# MVP]
- (e-mail address removed)

2003et said:
My program uses 200 radio button, 20 panel and about 150 textbox... But I
cannot understand its memory usage... It uses about 30 MB while it is
running without any db connection or something else...

Do you have any idea?

Thanks...
 
Back
Top