This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Memory Pool

I dont understand very well so that we use the memory pool....
Can u explain me?
Thanks

Parents
  • However, you may make use of the memory pool to allocate mailboxes or objects to send.

    The memory pool is similar to the normal heap handled by malloc() but with the difference that you have a predefined amount of memory and you have predefined block sizes. Allocating predefined block sizes means that you don't get any memory fragmentation. And it also means that an allocation/release can be very fast - fast enough that you can run it in a critical section.

Reply
  • However, you may make use of the memory pool to allocate mailboxes or objects to send.

    The memory pool is similar to the normal heap handled by malloc() but with the difference that you have a predefined amount of memory and you have predefined block sizes. Allocating predefined block sizes means that you don't get any memory fragmentation. And it also means that an allocation/release can be very fast - fast enough that you can run it in a critical section.

Children
No data