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

memory leaks...

Scheduled Pinned Locked Moved C / C++ / MFC
performancequestion
5 Posts 4 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.
  • S Offline
    S Offline
    Srini Kella
    wrote on last edited by
    #1

    Guys: I know my program leaks memory. Win32 documentation says, the leaked memory will be acquired by win32 OS once the leaking process terminates. Is it true? If it is so, how do I make sure that the OS 'really' acquired the leaked bytes? Is there any tool which shows the memory size before and after? Is the "Mem Usage" in Performance tab of NT-Task Manager indicates this?

    T D 2 Replies Last reply
    0
    • S Srini Kella

      Guys: I know my program leaks memory. Win32 documentation says, the leaked memory will be acquired by win32 OS once the leaking process terminates. Is it true? If it is so, how do I make sure that the OS 'really' acquired the leaked bytes? Is there any tool which shows the memory size before and after? Is the "Mem Usage" in Performance tab of NT-Task Manager indicates this?

      T Offline
      T Offline
      Tim Smith
      wrote on last edited by
      #2

      There is nothing you need to do to make sure. All pages assigned to your process will be released. End of story. I guess my question is what leads you to believe pages are not getting returned? Or are you just making sure? Tim Smith I know what you're thinking punk, you're thinking did he spell check this document? Well, to tell you the truth I kinda forgot myself in all this excitement. But being this here's CodeProject, the most powerful forums in the world and would blow your head clean off, you've got to ask yourself one question, Do I feel lucky? Well do ya punk?

      S 1 Reply Last reply
      0
      • S Srini Kella

        Guys: I know my program leaks memory. Win32 documentation says, the leaked memory will be acquired by win32 OS once the leaking process terminates. Is it true? If it is so, how do I make sure that the OS 'really' acquired the leaked bytes? Is there any tool which shows the memory size before and after? Is the "Mem Usage" in Performance tab of NT-Task Manager indicates this?

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

        It's true. If memory size is plenty large then you can see it in Task Manager

        M 1 Reply Last reply
        0
        • T Tim Smith

          There is nothing you need to do to make sure. All pages assigned to your process will be released. End of story. I guess my question is what leads you to believe pages are not getting returned? Or are you just making sure? Tim Smith I know what you're thinking punk, you're thinking did he spell check this document? Well, to tell you the truth I kinda forgot myself in all this excitement. But being this here's CodeProject, the most powerful forums in the world and would blow your head clean off, you've got to ask yourself one question, Do I feel lucky? Well do ya punk?

          S Offline
          S Offline
          Srini Kella
          wrote on last edited by
          #4

          Tim: I just want to make sure. Thats all. Thanks for your reply.

          1 Reply Last reply
          0
          • D DanielP

            It's true. If memory size is plenty large then you can see it in Task Manager

            M Offline
            M Offline
            Michael Liu
            wrote on last edited by
            #5

            right. mIchAel Liu __________________________________________________________ The secret of business is to know something that nobody else knows. ;)

            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