Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Finder ¶
Finder helps with finding a memory leak across three different memory dumps from a Ruby process.
func NewFinder ¶
NewFinder returns a new *Finder instance, populated with the three given file paths.
func (*Finder) FindLeaks ¶
FindLeaks finds potential memory leaks by removing all objects in heap dump #1 from heap dump #2, and then also removing all entries from heap dump #2 which are not present in heap dump #3.
func (*Finder) PrintLeakedAddresses ¶
func (s *Finder) PrintLeakedAddresses()
PrintLeakedAddresses prints the memory addresses in hex (0x...) format for all objects which are likely to be leaked memory.
func (*Finder) PrintLeakedObjects ¶
PrintLeakedObjects prints the full JSON blobs for all objects which are likely to be memory leaks.
Click to show internal directories.
Click to hide internal directories.