Skip to content

haritha-mohan/MemLeak

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MemLeak

A x-plat command line tool that generates a simple visual representation of strongly connected components- which could be an indication of a potential memory leak. Especially helpful when application is walking the bridge between managed and unmanaged memory.

How to use MemLeak

sample command: analyze -dump="20230729_134428_16855.gcdump"

From a functional perspective

  • input: path to app (our use case specifically MAUI app)
  • process:
    • run app
    • invoke new mono supported dotnet-gcdump
    • collect the dump/report
    • use inspo from PerfView/VS/Tarjan's algo to detect strongly connected cycles
  • output: from cycle analysis, present objects that are culprits for the cycles
    • initial iteration: just display details of cycle
    • [wip] using something like graphviz or a console library to diagram the cycle

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published