[#BloombergLP-ball-FixedSizeRecordBuffer-2constructor] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/ball.adoc[ball]::xref:BloombergLP/ball/FixedSizeRecordBuffer.adoc[FixedSizeRecordBuffer]::FixedSizeRecordBuffer :relfileprefix: ../../../ :mrdocs: Create a limited record buffer such that at any time the sum of sizes of all records contained _plus_ the amount of memory allocated by this object is guaranteed to be less than or equal to the specified `maxTotalSize`. Optionally specify a `basicAllocator` used to supply memory. If `basicAllocator` is 0, the currently installed default allocator is used. The behavior is undefined unless `maxTotalSize > 0`. == Synopsis Declared in `<ball_fixedsizerecordbuffer.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- FixedSizeRecordBuffer( int maxTotalSize, xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]* basicAllocator = 0); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#