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 Watcom 10.6 C++ and garbage collection
Ref. No. QNX.000009380
Category(ies) Development
Issue Does Watcom 10.6 C++ have garbage collection in QNX4?

Solution No, there is no garbage collection. The functions free() and delete/delete[] return memory back to the heap manager for recycling. This does not return the memory to the OS until you use _heapshrink().