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. How do I find the variable causing the memory leak ?

How do I find the variable causing the memory leak ?

Scheduled Pinned Locked Moved C / C++ / MFC
questionperformance
2 Posts 2 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
    SherTeks
    wrote on last edited by
    #1

    I get a memory leak like this on debugging (after exiting the application): {1557} normal block at 0x00483160, 2 bytes long. Data: <1 > 31 00 How do I exactly find out the variable (name) holding the memory 0x00483160 that causes the leak. Note : Double-clicking on the aforementioned line doesn't show me the place of the memory leak Thanx in Advance.

    N 1 Reply Last reply
    0
    • S SherTeks

      I get a memory leak like this on debugging (after exiting the application): {1557} normal block at 0x00483160, 2 bytes long. Data: <1 > 31 00 How do I exactly find out the variable (name) holding the memory 0x00483160 that causes the leak. Note : Double-clicking on the aforementioned line doesn't show me the place of the memory leak Thanx in Advance.

      N Offline
      N Offline
      Naveen
      wrote on last edited by
      #2

      Try some tool to find the memeory leak such as http://www.codeproject.com/KB/applications/visualleakdetector.aspx[^]

      nave [OpenedFileFinder] [My Blog]

      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