Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. Memory Usage from Task Manager

Memory Usage from Task Manager

Scheduled Pinned Locked Moved C#
performancequestionannouncement
12 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D devvvy

    hello I don't understand this, my app is perfectly not leaking memory and responsively and Task Manager "Detail" tab shows my app is consuming stead 350MB (I checked, update speed is Normal, so I am not looking at some stale counter) on this machine with 3900MB (i.e. almost 4GB) Now, how come, when I close my process, the memory usage drops from 70% to 30%!?! Right away! as reported on Task Manager!? A 40% drop on this 3900GB machine is 1560MB - that's four times memory I am using. What am I reading here...? Thanks in Advance

    dev

    D Offline
    D Offline
    Dave Kreskowiak
    wrote on last edited by
    #2

    First, STOP using Task Manager to tell you how much memory your .NET app is using. It's telling you how much memory the .NET CLR has RESERVED for your app, not how much it's actually using. This has been documented countless thousands of times all over the web. I know I've posted the explanation dozens of times here on CP. .net memory task manager[^]

    A guide to posting questions on CodeProject[^]
    Dave Kreskowiak

    D 1 Reply Last reply
    0
    • D Dave Kreskowiak

      First, STOP using Task Manager to tell you how much memory your .NET app is using. It's telling you how much memory the .NET CLR has RESERVED for your app, not how much it's actually using. This has been documented countless thousands of times all over the web. I know I've posted the explanation dozens of times here on CP. .net memory task manager[^]

      A guide to posting questions on CodeProject[^]
      Dave Kreskowiak

      D Offline
      D Offline
      devvvy
      wrote on last edited by
      #3

      and second?

      dev

      L D 2 Replies Last reply
      0
      • D devvvy

        and second?

        dev

        L Offline
        L Offline
        Lost User
        wrote on last edited by
        #4

        devvvy wrote:

        and second?

        This is not a C# question.

        Veni, vidi, abiit domum

        D 1 Reply Last reply
        0
        • D devvvy

          and second?

          dev

          D Offline
          D Offline
          Dave Kreskowiak
          wrote on last edited by
          #5

          You already got the "second", I just didn't specify it.

          A guide to posting questions on CodeProject[^]
          Dave Kreskowiak

          D 1 Reply Last reply
          0
          • D Dave Kreskowiak

            You already got the "second", I just didn't specify it.

            A guide to posting questions on CodeProject[^]
            Dave Kreskowiak

            D Offline
            D Offline
            devvvy
            wrote on last edited by
            #6

            dude, if google is more useful than you what good are you

            dev

            D 1 Reply Last reply
            0
            • D devvvy

              dude, if google is more useful than you what good are you

              dev

              D Offline
              D Offline
              Dave Kreskowiak
              wrote on last edited by
              #7

              Google is only as useful as the person using (or NOT using) it. If you can't do research and teach yourself, you're screwed in this business.

              A guide to posting questions on CodeProject[^]
              Dave Kreskowiak

              D 1 Reply Last reply
              0
              • D Dave Kreskowiak

                Google is only as useful as the person using (or NOT using) it. If you can't do research and teach yourself, you're screwed in this business.

                A guide to posting questions on CodeProject[^]
                Dave Kreskowiak

                D Offline
                D Offline
                devvvy
                wrote on last edited by
                #8

                eat some icecream sour old man

                dev

                D 2 Replies Last reply
                0
                • L Lost User

                  devvvy wrote:

                  and second?

                  This is not a C# question.

                  Veni, vidi, abiit domum

                  D Offline
                  D Offline
                  devvvy
                  wrote on last edited by
                  #9

                  you have just contributed to the generally well being of code project Rich

                  dev

                  L 1 Reply Last reply
                  0
                  • D devvvy

                    you have just contributed to the generally well being of code project Rich

                    dev

                    L Offline
                    L Offline
                    Lost User
                    wrote on last edited by
                    #10

                    Just? That was nearly a week ago.

                    Veni, vidi, abiit domum

                    1 Reply Last reply
                    0
                    • D devvvy

                      eat some icecream sour old man

                      dev

                      D Offline
                      D Offline
                      Dave Kreskowiak
                      wrote on last edited by
                      #11

                      Funny you should say that...but it has nothing to do with ME being a sour old man.

                      A guide to posting questions on CodeProject[^]
                      Dave Kreskowiak

                      1 Reply Last reply
                      0
                      • D devvvy

                        eat some icecream sour old man

                        dev

                        D Offline
                        D Offline
                        Dave Kreskowiak
                        wrote on last edited by
                        #12

                        Hey, I only speak the truth. If you can't handle it, don't be whiny about it and go get some ice cream yourself.

                        A guide to posting questions on CodeProject[^]
                        Dave Kreskowiak

                        1 Reply Last reply
                        0
                        Reply
                        • Reply as topic
                        Log in to reply
                        • Oldest to Newest
                        • Newest to Oldest
                        • Most Votes


                        • Login

                        • Don't have an account? Register

                        • Login or register to search.
                        • First post
                          Last post
                        0
                        • Categories
                        • Recent
                        • Tags
                        • Popular
                        • World
                        • Users
                        • Groups