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. .NET (Core and Framework)
  4. Hunting memory leaks

Hunting memory leaks

Scheduled Pinned Locked Moved .NET (Core and Framework)
questioncsharpcomperformance
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.
  • H Offline
    H Offline
    Helfdane
    wrote on last edited by
    #1

    I'm not sure if I'm posting this on the right board, but I'll give it a shot. 13 years ago we developed an expert system using VB6. It comprised of a standalone MDI-interface with a whole bunch of COM+ components. As time advanced, our software needed an overhaul. The decision was made to move to .Net (C#) module by module. As we implemented the MDI in C# (.NET3.5), we started to see a memory leak when we replaced the old VB6-MDI. The .net MDI starts the existing COM+ components the same way as the old MDI did. The old application did not have memory leaks, so it must have started with the .net transition. Now my question is, is there a way to hunt down that memory leak? What is the best tool to use and can that cool work with .net and com+ at the same time? Thank in advance!

    The consumer isn't a moron; she is your wife.

    L 1 Reply Last reply
    0
    • H Helfdane

      I'm not sure if I'm posting this on the right board, but I'll give it a shot. 13 years ago we developed an expert system using VB6. It comprised of a standalone MDI-interface with a whole bunch of COM+ components. As time advanced, our software needed an overhaul. The decision was made to move to .Net (C#) module by module. As we implemented the MDI in C# (.NET3.5), we started to see a memory leak when we replaced the old VB6-MDI. The .net MDI starts the existing COM+ components the same way as the old MDI did. The old application did not have memory leaks, so it must have started with the .net transition. Now my question is, is there a way to hunt down that memory leak? What is the best tool to use and can that cool work with .net and com+ at the same time? Thank in advance!

      The consumer isn't a moron; she is your wife.

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      Try Red Gate's Memory Profiler[^]. HTH

      Jinal Desai - LIVE Experience is mother of sage....

      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