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
helpcomxmlperformancequestion
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.
  • R Offline
    R Offline
    r i s h a b h s
    wrote on last edited by
    #1

    Dear all, i'm struggling since last week trying to find memory leaks in my web application when number of users increases, say 100 or more. We have a web based application which uses some VB as well as VC Com dll's. The InetInfo.exe crashes due to memory leaks caused by these dll's and also by the asp code. We've used a microsoft application to generate the memory dump of InetInfo.exe Its called LeakDiag. It generated the dmp file and also some xml logs. We also used microsoft's DmpChk.exe to read the dmp file. This is (text) the contents of the dump file RVA 00000BB8, 01000000 - 01006000: 'C:\WINNT\system32\inetsrv\inetinfo.exe' RVA 00000C24, 77f80000 - 77ffd000: 'C:\WINNT\system32\NTDLL.DLL' RVA 00000C90, 78000000 - 78046000: 'C:\WINNT\system32\msvcrt.dll' RVA 00000CFC, 7c570000 - 7c628000: 'C:\WINNT\system32\KERNEL32.DLL' RVA 00000D68, 7c2d0000 - 7c332000: 'C:\WINNT\system32\ADVAPI32.DLL' RVA 00000DD4, 77d30000 - 77da1000: 'C:\WINNT\system32\rpcrt4.dll' RVA 00000E40, 77e10000 - 77e75000: 'C:\WINNT\system32\USER32.DLL' RVA 00000EAC, 77f40000 - 77f7e000: 'C:\WINNT\system32\GDI32.DLL' RVA 00000F18, 77a50000 - 77b3f000: 'C:\WINNT\system32\OLE32.DLL' RVA 00000F84, 6e5a0000 - 6e5c0000: 'C:\WINNT\system32\iisrtl.dll' ... ... ... These are the lines of text which correspond to our application dll's RVA 000039B4, 11000000 - 111b4000: 'C:\Apps\WebCache\WebCache.dll' RVA 00004518, 04200000 - 04573000: 'C:\Apps\WebCache\Admin.dll' ... ... But i'm stuck now. I do not know how do i understand and interpret the above data. Is there some other way i can track memory leaks in my dll's and/or web application. Plz. help. :confused: ____________________________________________________________ rishabhs I think therefore I am.

    V 1 Reply Last reply
    0
    • R r i s h a b h s

      Dear all, i'm struggling since last week trying to find memory leaks in my web application when number of users increases, say 100 or more. We have a web based application which uses some VB as well as VC Com dll's. The InetInfo.exe crashes due to memory leaks caused by these dll's and also by the asp code. We've used a microsoft application to generate the memory dump of InetInfo.exe Its called LeakDiag. It generated the dmp file and also some xml logs. We also used microsoft's DmpChk.exe to read the dmp file. This is (text) the contents of the dump file RVA 00000BB8, 01000000 - 01006000: 'C:\WINNT\system32\inetsrv\inetinfo.exe' RVA 00000C24, 77f80000 - 77ffd000: 'C:\WINNT\system32\NTDLL.DLL' RVA 00000C90, 78000000 - 78046000: 'C:\WINNT\system32\msvcrt.dll' RVA 00000CFC, 7c570000 - 7c628000: 'C:\WINNT\system32\KERNEL32.DLL' RVA 00000D68, 7c2d0000 - 7c332000: 'C:\WINNT\system32\ADVAPI32.DLL' RVA 00000DD4, 77d30000 - 77da1000: 'C:\WINNT\system32\rpcrt4.dll' RVA 00000E40, 77e10000 - 77e75000: 'C:\WINNT\system32\USER32.DLL' RVA 00000EAC, 77f40000 - 77f7e000: 'C:\WINNT\system32\GDI32.DLL' RVA 00000F18, 77a50000 - 77b3f000: 'C:\WINNT\system32\OLE32.DLL' RVA 00000F84, 6e5a0000 - 6e5c0000: 'C:\WINNT\system32\iisrtl.dll' ... ... ... These are the lines of text which correspond to our application dll's RVA 000039B4, 11000000 - 111b4000: 'C:\Apps\WebCache\WebCache.dll' RVA 00004518, 04200000 - 04573000: 'C:\Apps\WebCache\Admin.dll' ... ... But i'm stuck now. I do not know how do i understand and interpret the above data. Is there some other way i can track memory leaks in my dll's and/or web application. Plz. help. :confused: ____________________________________________________________ rishabhs I think therefore I am.

      V Offline
      V Offline
      V 0
      wrote on last edited by
      #2

      I always search on 'new' and 'delete'. (in C++ every new has a delete) but this is not efficient though. There are programs that do the search for you. I think "Purify" is one of them. (but I'm not sure) During my studies they always said that you could easily write a garbage collector... ? good luck. "If I don't see you in this world, I'll see you in the next one... and don't be late." ~ Jimi Hendrix

      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