map prints a malloc memory map for debugging.