Skip to content

Latest commit

 

History

History
9 lines (6 loc) · 313 Bytes

README.md

File metadata and controls

9 lines (6 loc) · 313 Bytes

go-mem-limit

Simple and naive library making it possible to limit the amount of dynamically allocated memory on heap in Go applications.

When memory allocation in a given moment reaches a defined threshold a provided callback function is going to be called.

This samples allocated memory for entire process.