Software Engineer
MemoryManagerSketches.jpg

Memory Manager 65k (C++)

Built a ultra conservative memory manager.

Memory Manager (C++)

 
MemoryManagerSketches.jpg
 
 

Overview

I made a super efficient memory manager for 65 kilobytes, or a 2^16 byte, memory pool. 

Accomplishments

  • Designed and built whole system.

  • Only used 3 bytes of memory per data block's tag/ ID system.

  • Made a fast memory scanner that works off an "O(N)" performance, where N is the number of data blocks.

  • Used no external libraries. (No "#include"s).

  • Built custom memory copier function.

  • Built checker functions to prevent unnecessary operations and prevent errors.

Diagram of test cases for the data-block ID system.

 

 

Dev. Diary of 65KB Memory Manger

 
 

Link to Git Hub to see the code. 

 

Code Segment