Version: v0.1.0 Latest Latest

This package is not in the latest version of its module.

Go to latest
Published: Jun 3, 2021 License: Apache-2.0 Imports: 16 Imported by: 0


memtest tests the effect of the C memory allocator. The default version uses Calloc from the stdlib.

If the program is built using the jemalloc build tag, then the allocator used will be jemalloc.


To monitor the memory use of this program, the following bash snippet is useful:

while true; do
ps -C memtest -o vsz=,rss= >> memphys.csv
sleep 1

This is of course contingent upon the fact that the binary of this program is called memtest.


The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL