It should be possible to define a memory profiling test, then issue a `make memprof` and end up with the artefacts created by the profiler. See http://www.ocamlpro.com/blog/2015/03/04/ocp-memprof-cumulus.html