B
Baron Samedi
I don't want to reinvent the wheel, so I am looking for some freely
reusable memory pool software. Something tried, tested and efficient.
- It should dynamically allocate memory from a statically allocated
structure or structures, for use in an embedded system.
- it should be coded in C++ (or C).
- it should allow user defined handling of the "out of memory"
situation.
- garbage collection would be very welcome, otherwise defragmentation
may occur after some time and lead to a premature "out of memory".
- since dynamic memory is not expected to have a long lifetime, it
might be useful to timestamp allocated memory so that a low priority
process can flag as suspicious any memory which has been allocated for
more than X seconds or minutes (probably just during the development
process).
Thanks in advance for any help.
reusable memory pool software. Something tried, tested and efficient.
- It should dynamically allocate memory from a statically allocated
structure or structures, for use in an embedded system.
- it should be coded in C++ (or C).
- it should allow user defined handling of the "out of memory"
situation.
- garbage collection would be very welcome, otherwise defragmentation
may occur after some time and lead to a premature "out of memory".
- since dynamic memory is not expected to have a long lifetime, it
might be useful to timestamp allocated memory so that a low priority
process can flag as suspicious any memory which has been allocated for
more than X seconds or minutes (probably just during the development
process).
Thanks in advance for any help.