class Dumpster::HeapReader

Overview

Reader for Ruby heap memory dumps collected from the ObjectSpace module.

Stored dump files are in the http://jsonlines.org/ format. These can contain multiple gigabytes of data depending on the application being analysed. To reduce the resource overhead required to parse, HeapReader provides an efficient interface for iterating over these lazilly and emitting parsed structs.

Included Modules

Defined in:

dumpster/heap_reader.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(io : IO, parsers = 16) #

[View source]

Instance Method Detail

def next #

See Iterator#next


[View source]
def rewind #

See Iterator#rewind


[View source]