Logo Search packages:      
Sourcecode: maxdb-7.5.00 version File versions

void SAPDBMem_RawAllocator::SetLimit ( SAPDB_ULong  NewLimit  )  [inherited]

sets the maximal size of the total memory in bytes controlled by the RawAllocator. Has no meaning, if the current size is already greater than NewLimit.

NewLimit the new size in bytes

Definition at line 2961 of file SAPDBMem_RawAllocator.cpp.

References SAPDBMem_RawAllocator::THeapInfo::allocated, SAPDBMem_RawAllocator::m_heapInfo, and SAPDBMem_RawAllocator::m_maxHeap.

  if (NewLimit > m_heapInfo.allocated) 
    m_maxHeap = NewLimit;

Generated by  Doxygen 1.6.0   Back to index