Zen API
|
kStatus kPoolAlloc_SetCacheCapacity | ( | kPoolAlloc | object, |
kSize | size | ||
) |
Sets the maximum total amount of memory that can be used to cache buffers upon deallocation.
This property does not affect block-based allocations, which can be limited using the kPoolAlloc_SetBlockCapacity function.
This property is kSIZE_MAX by default.
object | kPoolAlloc object. |
size | Cached memory capacity, in bytes. |