Add malloc monitoring to get a sense of RAM use