Home
Developer Resources
QNX RTOS v4
QNX RTOS v4 Knowledge Base

QNX RTOS v4 Knowledge Base

Foundry27
Foundry27
QNX RTOS v4 project
Resources

QNX RTOS v4 Knowledge Base

Title Differences in heap allocation in 32-bit versions of QNX4
Ref. No. QNX.000008903
Category(ies) Kernel, Development
Issue Are there differences in the way the heap is allocated in the 32-bit versions of QNX4?



Solution Yes, there are differences in the way the heap is handled in all 32-bit versions of QNX4.

In 4.23 it allocates an initial large heap and will not grow or shrink it.

In 4.24, it will dynamically grow the heap from an initial size.

In 4.25 it will dynamically grow and shrink the heap so it doesn't grab memory until it needs it and releases it when it does not.