Blueprint Help Send comments on this topic.
Memory Management

Glossary Item Box

The runtime dynamic memory allocation service provides an alternative means of allocating and freeing memory.  In most cases transient allocations are thread specific and where this is the case, the following API can improve performance significantly.  For a more general discussion see Basic Memory Management.

ClpHeapAllocTs

This function allows a thread specific heap to be created from user code

ClpHeapFreeTs

This allows a thread specific heap to be freed from user code

ClpHeapOverhead

This function returns the number of bytes that are required to create a thread specific heap.  This can be used to estimate the total requirement for a given heap (user space + heap overhead)

ClpMallocTs

This function allocates storage from a thread specific heap

ClpFreeTs

This function frees previously allocated thread specific storage

ClpReallocTs

This function re-allocates storage from a thread specific heap

ClpCheckAlloc

This function allows a previously allocated block to be checked for over-run and/or over-run

ClpBlockSize

This function returns the size of a previously allocated block

ClpHeapStats

This function allows users to determine heap usage statistics

ClpSetOversize

This function provides a means of using 'new' and 'delete' to create variable sized objects

ClpEnableRedZones

This function enables red-zones and causes the runtime to carry out internal integrity checks aimed at catching over-writes and/or under-writes

ClpDisableRedZones

This function disables re-zones