Skip to content

๐Ÿ“ A multithreaded C++ memory allocator offering advanced allocation strategies and optimized memory management.

License

Notifications You must be signed in to change notification settings

ahmad-masud/Linux-Memory-Allocator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

8 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Linux Memory Allocator

Linux Memory Allocator is a multithreaded C++ memory allocator designed to provide advanced allocation strategies and optimized memory management. This project offers flexibility and efficiency for managing memory in C++ applications.

Features

  • Multithreaded Support: Safely manage memory across multiple threads.
  • Flexible Allocation Strategies: Choose between various allocation algorithms, including First Fit and Best Fit.
  • Memory Optimization: Efficiently handle memory with compaction and merging of contiguous free blocks.
  • Detailed Statistics: Get insights into memory usage and allocation statistics.

Getting Started

Prerequisites

  • C++11 or later
  • g++ for compiling

Building the Project

  1. Clone the repository:

    git clone https://github.com/ahmad-masud/Linux-Memory-Allocator
  2. Navigate to the project directory:

    cd Linux-Memory-Allocator
  3. Build the project using make:

    make

Usage

  1. Run the executable:

    ./myalloc
  2. The program will demonstrate allocation and deallocation of memory using the custom allocator.

Contributing

Contributions are welcome! Please open an issue or submit a pull request with your proposed changes.

License

This project is licensed under the MIT License. See the LICENSE file for details.

Acknowledgements

  • Inspired by classic memory management techniques.
  • Developed with modern C++ features for enhanced performance and safety.

About

๐Ÿ“ A multithreaded C++ memory allocator offering advanced allocation strategies and optimized memory management.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published