replay / go-generic-object-store

go-generic-object-store is a small, fast, light-weight, in-memory, off-heap library designed specifically for use with string interning and other similar redundancy reduction concepts.
MIT License
8 stars 4 forks source link

Modify mem stats to report MMapped memory only #28

Closed robert-milan closed 5 years ago

robert-milan commented 5 years ago

This modifies mem stats methods in the object store to only report on MMapped memory. The go heap profiler will report on any overhead from the maps, slices, and structs being used in the store. The gap exists to get an accurate measurement of MMapped memory.