# lwmem
**Repository Path**: powerx/lwmem
## Basic Information
- **Project Name**: lwmem
- **Description**: lwmem是一个用于轻量级嵌入式项目的内存池接口,用于动态内存管理的相关功能,它实现了malloc,calloc,realloc和free等函数,可以用于嵌入式裸机、轻设备的开发
- **Primary Language**: C/C++
- **License**: MIT
- **Default Branch**: develop
- **Homepage**: https://www.oschina.net/p/lwmem
- **GVP Project**: No
## Statistics
- **Stars**: 0
- **Forks**: 2
- **Created**: 2022-05-08
- **Last Updated**: 2022-05-08
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
# Lightweight dynamic memory manager
## Features
* Written in ANSI C99, compatible with ``size_t`` for size data types
* Implements standard C library functions for memory allocation, malloc, calloc, realloc and free
* Uses *first-fit* algorithm to search for free block
* Supports multiple allocation instances to split between memories and/or CPU cores
* Supports different memory regions to allow use of fragmented memories
* Highly configurable for memory allocation and reallocation
* Supports embedded applications with fragmented memories
* Supports automotive applications
* Supports advanced free/realloc algorithms to optimize memory usage
* Operating system ready, thread-safe API
* C++ wrapper functions
* User friendly MIT license
## Contribute
Fresh contributions are always welcome. Simple instructions to proceed::
1. Fork Github repository
2. Respect [C style & coding rules](https://github.com/MaJerle/c-code-style) used by the library
3. Create a pull request to develop branch with new features or bug fixes
Alternatively you may:
1. Report a bug
2. Ask for a feature request