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 allocation in multi-threaded application

Memory allocation in multi-threaded application

Scheduled Pinned Locked Moved C / C++ / MFC
performancehelpquestion
3 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.
  • B Offline
    B Offline
    baerten
    wrote on last edited by
    #1

    Hi everybody, I like to find out where a function or maybe an entire library allocates a huge amount of memory. In the task-manager I see that the application really uses 25MB of the memory and allocates a total of 166MB. I tested already GlowCode, but it displays only the memory which is really in use. Is there another tool or programming technique to find the call of the function? Big thanks for any help :)

    D 1 Reply Last reply
    0
    • B baerten

      Hi everybody, I like to find out where a function or maybe an entire library allocates a huge amount of memory. In the task-manager I see that the application really uses 25MB of the memory and allocates a total of 166MB. I tested already GlowCode, but it displays only the memory which is really in use. Is there another tool or programming technique to find the call of the function? Big thanks for any help :)

      D Offline
      D Offline
      David Crow
      wrote on last edited by
      #2

      baerten wrote:

      Is there another tool or programming technique to find the call of the function?

      :confused:

      "One man's wage rise is another man's price increase." - Harold Wilson

      "Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons

      C 1 Reply Last reply
      0
      • D David Crow

        baerten wrote:

        Is there another tool or programming technique to find the call of the function?

        :confused:

        "One man's wage rise is another man's price increase." - Harold Wilson

        "Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons

        C Offline
        C Offline
        crewchill
        wrote on last edited by
        #3

        I think he meant which code calls the heap allocator? Try IBM Rational Purify. They have 30-day license I believe. It should keep track of allocations and deallocations, leaks, etc, complete with the stack of the callers.

        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