Memory Usage Problem

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • 2003et

    Memory Usage Problem

    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...


  • Nicholas Paldino [.NET/C# MVP]

    #2
    Re: Memory Usage Problem

    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]
    - mvp@spam.guard. caspershouse.co m

    "2003et" <e108254@metu.e du.tr> wrote in message
    news:%23M55vU5p DHA.1724@TK2MSF TNGP10.phx.gbl. ..[color=blue]
    > 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...
    >
    >[/color]


    Comment

    • 2003et

      #3
      Re: Memory Usage Problem

      hmmms...

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




      "Nicholas Paldino [.NET/C# MVP]" <mvp@spam.guard .caspershouse.c om> wrote in
      message news:On3rOn5pDH A.2588@tk2msftn gp13.phx.gbl...[color=blue]
      > 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[/color]
      are[color=blue]
      > not on one form!
      >
      > Hope this helps.
      >
      >
      > --
      > - Nicholas Paldino [.NET/C# MVP]
      > - mvp@spam.guard. caspershouse.co m
      >
      > "2003et" <e108254@metu.e du.tr> wrote in message
      > news:%23M55vU5p DHA.1724@TK2MSF TNGP10.phx.gbl. ..[color=green]
      > > My program uses 200 radio button, 20 panel and about 150 textbox... But[/color][/color]
      I[color=blue][color=green]
      > > 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...
      > >
      > >[/color]
      >
      >[/color]


      Comment

      Working...