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

    I glad I could help to you. ;)

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

    Thanks Hamid, Hope we can have further discussion here -- other topics -- I will find one soon. :-) regards, George

    H 2 Replies Last reply
    0
    • G George_George

      Thanks Hamid, Hope we can have further discussion here -- other topics -- I will find one soon. :-) regards, George

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

      Very good. ;P

      1 Reply Last reply
      0
      • G George_George

        Thanks Hamid, Hope we can have further discussion here -- other topics -- I will find one soon. :-) regards, George

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

        I remember when use of controls and other objects check memory for size of program. ;)

        G 1 Reply Last reply
        0
        • H Hamid Taebi

          I remember when use of controls and other objects check memory for size of program. ;)

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

          Hi Hamid, Is your comment related to my original question? My question is not talking about windows controls. :-) regards, George

          H 1 Reply Last reply
          0
          • G George_George

            Hi Hamid, Is your comment related to my original question? My question is not talking about windows controls. :-) regards, George

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

            No I think its helpful if you know. :-D

            G 1 Reply Last reply
            0
            • H Hamid Taebi

              No I think its helpful if you know. :-D

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

              Hi Hamid, I am interested. What do you mean "check memory size of a program"? Could you provide some samples or links or more descriptions please? regards, George

              H 1 Reply Last reply
              0
              • G George_George

                Hi Hamid, I am interested. What do you mean "check memory size of a program"? Could you provide some samples or links or more descriptions please? regards, George

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

                My intent is when run your program monitor memory for detaily of your program.

                G 1 Reply Last reply
                0
                • H Hamid Taebi

                  My intent is when run your program monitor memory for detaily of your program.

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

                  Thanks Hamid, You mean in the current process, monitor the memory consumed by current process? And what is its purpose? If you have some links or samples, it will be better to understand your points. :-) regards, George

                  H 1 Reply Last reply
                  0
                  • G George_George

                    Thanks Hamid, You mean in the current process, monitor the memory consumed by current process? And what is its purpose? If you have some links or samples, it will be better to understand your points. :-) regards, George

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

                    When run your program use of performance for check behavior of your program its good.

                    G 1 Reply Last reply
                    0
                    • H Hamid Taebi

                      When run your program use of performance for check behavior of your program its good.

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

                      How to check in your experience? Any tool? API? Samples? regards, George

                      H 1 Reply Last reply
                      0
                      • G George_George

                        How to check in your experience? Any tool? API? Samples? regards, George

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

                        I said previous Performance is good and exist on your system whats your OS?

                        G 1 Reply Last reply
                        0
                        • H Hamid Taebi

                          I said previous Performance is good and exist on your system whats your OS?

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

                          Thanks Hamid, I am using Windows Server 2003. I always want to improve performance. I am using Visual Studio 2005/2008 to develop C++ application. What are the tools/experiences you had before? regards, George

                          H 1 Reply Last reply
                          0
                          • G George_George

                            Thanks Hamid, I am using Windows Server 2003. I always want to improve performance. I am using Visual Studio 2005/2008 to develop C++ application. What are the tools/experiences you had before? regards, George

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

                            Im using of Task Manager and performance.

                            G 1 Reply Last reply
                            0
                            • H Hamid Taebi

                              Im using of Task Manager and performance.

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

                              Hi Hamid, Thanks for sharing the information. If you are using Task Manager, I have a question, what means "PF" (in Windows Server 2003 Task Manager)? The same as physical memory? regards, George

                              H 1 Reply Last reply
                              0
                              • G George_George

                                Hi Hamid, Thanks for sharing the information. If you are using Task Manager, I have a question, what means "PF" (in Windows Server 2003 Task Manager)? The same as physical memory? regards, George

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

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

                                G 1 Reply Last reply
                                0
                                • 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
                                          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