MemoryHeap::LimitHandler::OnFreeSegment

MemoryHeap::LimitHandler::OnFreeSegment
virtual void OnFreeSegment(MemoryHeap* heap, UPInt freeingSize) = 0;
Description

OnFreeSegment is called when the memory segment added to the heap is released. The method allows the application algorithm to decrease the memory limit when necessary.

Parameters
Parameters 
Description 
MemoryHeap* heap 
Memory heap of which a segment is freed. 
UPInt freeingSize 
_nt_