How much memory used in function?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • jgvicke
    New Member
    • Nov 2008
    • 2

    How much memory used in function?

    I have a large bit of code that uses a lot of dynamically allocated memory in 2d and 3d arrays. Is there any easy way to see how much memory my program is actually using at runtime?

    Thanks
    John
  • RedSon
    Recognized Expert Expert
    • Jan 2007
    • 4980

    #2
    What OS?

    Comment

    • jgvicke
      New Member
      • Nov 2008
      • 2

      #3
      I am running Windows XP SP3. All of my code is in C, and I need to aviod C++ if at all possible.

      Comment

      • RedSon
        Recognized Expert Expert
        • Jan 2007
        • 4980

        #4
        Originally posted by jgvicke
        I am running Windows XP SP3. All of my code is in C, and I need to aviod C++ if at all possible.
        You can try using process explorer to see what your application is up to, check out this link...

        Find out what files, registry keys and other objects processes have open, which DLLs they have loaded, and more.

        Comment

        • weaknessforcats
          Recognized Expert Expert
          • Mar 2007
          • 9214

          #5
          Don't overlook Task Manager.

          Comment

          Working...