Created a first-fit memory manager for game engines. The manager can handle memory space partitioning (within sub-managers) and assists in debugging code. Provides help with double deletes, lifetime memory leaks, temporal memory leaks, tracking memory footprints and heap corruption.
This is output from a sample run:
==============Test2:============== Printing Debug information for memory manager at 0017FA5C Managing memory block at 00CC0040 Most Ever Allocated: 1048624 Total Number new/deletes: 9 Memory Leaks found! Total memory allocated: 1048624 Block found at address: 00CC0070 New/Delete number: 7 Block of size: 1048576 Tag: NONE File: c:\memorymanager\memorymanager\test2.cpp Line: 42 Block found at address: 00EBFFB8 New/Delete number: 5 Block of size: 16 Tag: NONE File: c:\memorymanager\memorymanager\test2.cpp Line: 37 Block found at address: 00EBFFE4 New/Delete number: 2 Block of size: 16 Tag: NONE File: c:\memorymanager\memorymanager\test2.cpp Line: 30 Block found at address: 00EC0010 New/Delete number: 1 Block of size: 8 Tag: NONE File: c:\memorymanager\memorymanager\test2.cpp Line: 28 Block found at address: 00EC0034 New/Delete number: 0 Block of size: 8 Tag: NONE File: c:\memorymanager\memorymanager\test2.cpp Line: 26