Results 1 to 8 of 8

Thread: Memory burns...

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Jan 2002
    Location
    Palermo, Italy
    Posts
    325

    Memory burns...

    I saw with the task manager of Win2000 that a simple application, only a form, gets up to 12Mb of memory... Isn't this a little excessive???? What hell? For a more complicated application, I got a 371 MB of memory usage!!! My comp freezed for a while....
    Learn, this is the Keyword...

  2. #2
    Lively Member
    Join Date
    Jul 2003
    Location
    Kuala Lumpur (Malaysia)
    Posts
    92

    Wink

    Is you using the IDE ?

    Usually the IDE take up lots of memory. For developer the idea memory is 1 GB. and the processor is 2 GHz and above.

  3. #3

    Thread Starter
    Hyperactive Member
    Join Date
    Jan 2002
    Location
    Palermo, Italy
    Posts
    325
    Yes, I'm using IDE, but I configured it as the "Release" config, and I run the program with ctrl+F5...

    And also, how many threads....
    Learn, this is the Keyword...

  4. #4

    Thread Starter
    Hyperactive Member
    Join Date
    Jan 2002
    Location
    Palermo, Italy
    Posts
    325
    And I have only 512Mb of Ram and it's a 700 MHz duron
    Learn, this is the Keyword...

  5. #5
    Lively Member
    Join Date
    Jul 2003
    Location
    Kuala Lumpur (Malaysia)
    Posts
    92

    Cool

    Hi,

    Even you are build under the release mode, the IDE still resident inside your memory. It handle lots of your controls that youe application not need.

    If you really want to know how much your app take up the momory then build the release mode. Close the IDE, run your app. Then check again.

    Ops... one more things .... try to unload the not use control and reference from your projects. It will slow down your app and take huge of memory.

  6. #6
    Lively Member
    Join Date
    Jul 2003
    Location
    Kuala Lumpur (Malaysia)
    Posts
    92

    Youe spec is fine :)

    Youe pc spec is fine since you have large memory.

  7. #7
    I wonder how many charact
    Join Date
    Feb 2001
    Location
    Savage, MN, USA
    Posts
    3,704
    Simply minimize your app's form windows, and then recheck the memory usage, you will seen it dropped dramatically.

    Although, if you have an app with 371MB being used, you might have designed it inefficiently, and perhaps not disposing references to objects, and the GC isn't freeing them.

  8. #8
    Your Ad Here! Edneeis's Avatar
    Join Date
    Feb 2000
    Location
    Moreno Valley, CA (SoCal)
    Posts
    7,339
    I think the thing to remember with .NET applications and the GC is that the more memory you have the more it will seem that your application will take. The GC cleans up and reclaims memory as it is needed so if it is not needed then it will just spend your memory to make your application run as fast as possible. If the memory is needed then the GC will clean and make it available but if you just open a form and check memory then there is no reason for it to clean up and it will just leave it used.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width