add CCMemory, a memory profile tool