test: Track memory usage in /tmp/debug-info.sh

Signed-off-by: Lewis Marshall <lewis@lmars.net>