Skip to content

Muhamed-Shillua/Memory-Management-Simulation

Repository files navigation

Memory Management Simulation

Overview

This project demonstrates different memory management techniques in C++:

  • Memory Pooling
  • Fixed-size Memory Block Allocation
  • Reference Counting
  • Multi-threaded Memory Allocation

Each technique is implemented in its own folder with a detailed README.md.

Project Structure

  1. Main

  2. MemoryPool

  3. MemoryBlockAllocation

  4. ReferenceCounting

  5. MultithreadedMemoryAllocation

  6. LearningRoadmap

How to Run

  1. Clone the repository:

    git clone https://github.com/Muhamed-Shillua/Memory-Management-Simulation.git
    
  2. Compile and run the main program:

    g++ Main/main.cpp -o Main/main
    

Alternatively, run each technique individually by navigating to its folder and compiling it: g++ MemoryPool/MemoryPool.cpp -o MemoryPool/MemoryPool MemoryPool

Contribution

  1. Fork the repository.
  2. Create a new branch.
  3. Submit a pull request.

License

MIT License - see the LICENSE file.

About

C++ simulations of modern memory management techniques with clear examples and documentation.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages