Interaction With The Program's Code The memory manager performs its book-keeping inside the memory space of the application that uses it. This means that an invalid memory access inside the application, could corrupt the memory manager's data structures. This could explain situations such as a program crashing inside the memory allocation and de-allocation functions - this usual implies a bug much earlier in the code, not in the memory manager.