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 / C++ / MFC
  4. memory leak in the code?

memory leak in the code?

Scheduled Pinned Locked Moved C / C++ / MFC
performancequestion
51 Posts 5 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.
  • H Hamid Taebi

    This is form Task manager's help about PF Usage: The amount of paging file being used by the system.

    G Offline
    G Offline
    George_George
    wrote on last edited by
    #42

    Thanks Hamid, In my understanding, paging file is persistent storage for swapped out pages. Right? Which parameter in Windows Server 2003 is used to monitor the real physical memory consumed? regards, George

    H 1 Reply Last reply
    0
    • G George_George

      Thanks Hamid, In my understanding, paging file is persistent storage for swapped out pages. Right? Which parameter in Windows Server 2003 is used to monitor the real physical memory consumed? regards, George

      H Offline
      H Offline
      Hamid Taebi
      wrote on last edited by
      #43

      At the Task Manager you have a section its name Physical Memory it has three options that first is total memory and second is available memory you can use of it,on the performance it has a counter that you can see free memory.(When windows doesnt has enough memory for runnig programs it uses of hard for it.)

      G 1 Reply Last reply
      0
      • H Hamid Taebi

        At the Task Manager you have a section its name Physical Memory it has three options that first is total memory and second is available memory you can use of it,on the performance it has a counter that you can see free memory.(When windows doesnt has enough memory for runnig programs it uses of hard for it.)

        G Offline
        G Offline
        George_George
        wrote on last edited by
        #44

        Thanks Hamid, I am using Windows Server 2003. There are three categories, total, available and System Cache. What is system Cache mean? :-) regards, George

        H 1 Reply Last reply
        0
        • G George_George

          Thanks Hamid, I am using Windows Server 2003. There are three categories, total, available and System Cache. What is system Cache mean? :-) regards, George

          H Offline
          H Offline
          Hamid Taebi
          wrote on last edited by
          #45

          See Cache[^] and here[^] and here[^]. ;)

          G 1 Reply Last reply
          0
          • H Hamid Taebi

            See Cache[^] and here[^] and here[^]. ;)

            G Offline
            G Offline
            George_George
            wrote on last edited by
            #46

            Thanks Hamid, I like second link. The 3rd one is for Windows 2000, and I am using Windows Server 2003, do you have a link for Task Manager for Windows Server 2003? regards, George

            H 1 Reply Last reply
            0
            • G George_George

              Thanks Hamid, I like second link. The 3rd one is for Windows 2000, and I am using Windows Server 2003, do you have a link for Task Manager for Windows Server 2003? regards, George

              H Offline
              H Offline
              Hamid Taebi
              wrote on last edited by
              #47

              I think you can use of it on the 2003,did you try to it?

              G 1 Reply Last reply
              0
              • H Hamid Taebi

                I think you can use of it on the 2003,did you try to it?

                G Offline
                G Offline
                George_George
                wrote on last edited by
                #48

                Thanks Hamid, I read it again. The links describes the differences between the content in System Cache between Windows Server 2000 and Windows NT 4.0. I am not sure how about Windows Server 2003? I have not found any information for Windows Server 2003, and if you have found any, it is appreciated if you could share with us. :-) http://support.microsoft.com/kb/243325/en-us[^] -------------------- SUMMARY This article describes how Windows 2000 determines the amount of memory used for data caching. MORE INFORMATION When you use Task Manager to compare the performance of a Microsoft Windows NT 4.0-based computer to the performance of a similar Windows 2000-based computer, Windows 2000 Task Manager reports the amount of system cache memory in use, and Windows NT 4.0 Task Manager reports the amount of file cache memory in use. Also, the amount of memory used by the Windows 2000 system cache may be significantly larger than the amount of memory used by the Windows NT 4.0 file cache. Because the Windows 2000 Task Manager System Cache field includes the size of the transition list, this field is a more accurate report of caching information. The transition list is memory which has been reclaimed by the operating system from working sets, including the file cache, memory that was used by programs, and other operating system memory usage. The transition list is not counted by Windows NT 4.0 File Cache. The File Cache field only counts the size of the file cache working set, or that amount of memory which is currently in use by the cache manager. The File Cache field does not count the number of cached memory pages that are in transition. For these reasons, the system cache entries in Windows 2000 Task Manager will appear larger than the Windows NT 4.0 Task Manager file cache counterpart. These differences do not indicate that a Windows 2000-based computer is using more system memory than a similar Windows NT 4.0-based computer. -------------------- regards, George

                H 1 Reply Last reply
                0
                • G George_George

                  Thanks Hamid, I read it again. The links describes the differences between the content in System Cache between Windows Server 2000 and Windows NT 4.0. I am not sure how about Windows Server 2003? I have not found any information for Windows Server 2003, and if you have found any, it is appreciated if you could share with us. :-) http://support.microsoft.com/kb/243325/en-us[^] -------------------- SUMMARY This article describes how Windows 2000 determines the amount of memory used for data caching. MORE INFORMATION When you use Task Manager to compare the performance of a Microsoft Windows NT 4.0-based computer to the performance of a similar Windows 2000-based computer, Windows 2000 Task Manager reports the amount of system cache memory in use, and Windows NT 4.0 Task Manager reports the amount of file cache memory in use. Also, the amount of memory used by the Windows 2000 system cache may be significantly larger than the amount of memory used by the Windows NT 4.0 file cache. Because the Windows 2000 Task Manager System Cache field includes the size of the transition list, this field is a more accurate report of caching information. The transition list is memory which has been reclaimed by the operating system from working sets, including the file cache, memory that was used by programs, and other operating system memory usage. The transition list is not counted by Windows NT 4.0 File Cache. The File Cache field only counts the size of the file cache working set, or that amount of memory which is currently in use by the cache manager. The File Cache field does not count the number of cached memory pages that are in transition. For these reasons, the system cache entries in Windows 2000 Task Manager will appear larger than the Windows NT 4.0 Task Manager file cache counterpart. These differences do not indicate that a Windows 2000-based computer is using more system memory than a similar Windows NT 4.0-based computer. -------------------- regards, George

                  H Offline
                  H Offline
                  Hamid Taebi
                  wrote on last edited by
                  #49

                  See here[^] and here[^] and here[^].

                  G 1 Reply Last reply
                  0
                  • H Hamid Taebi

                    See here[^] and here[^] and here[^].

                    G Offline
                    G Offline
                    George_George
                    wrote on last edited by
                    #50

                    I like the links, Hamid! Thanks for your patience, my question is answered. regards, George

                    H 1 Reply Last reply
                    0
                    • G George_George

                      I like the links, Hamid! Thanks for your patience, my question is answered. regards, George

                      H Offline
                      H Offline
                      Hamid Taebi
                      wrote on last edited by
                      #51

                      I glad finaly you got your answer. :-D

                      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