Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How does the Polyhedra software limit memory fragmentation?

0
10 Posted

How does the Polyhedra software limit memory fragmentation?

0
10

Polyhedra’s usage of memory dictates that small areas of memory are frequently allocated and de-allocated. Because this would lead to fragmentation of the Operating System’s memory, Polyhedra has built a “Fast Memory” module, which is not only more performance-oriented (by reducing the number of calls on the operating system), but reduces the memory fragmentation problem. The Polyhedra memory allocation scheme operates by allocating large, fixed sized, pools of memory from the operating system, and doing internal allocation and freeing of the required small areas of memory from those pools. The size of these pools is based on the number and size of the “buckets” of memory that the pool is designed to service. For example – if the unit size of a bucket was 8 bytes, and the number of buckets was 100, then the malloc to the operating system would be 800 bytes. Any request for an area of memory between 1 and 8 bytes would result in one of these 8 byte buckets being allocated, and the freei

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123