Print memory allocation diagnostics