[#BloombergLP-bdlma-CountingAllocator-numBytesTotal] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlma.adoc[bdlma]::xref:BloombergLP/bdlma/CountingAllocator.adoc[CountingAllocator]::numBytesTotal :relfileprefix: ../../../ :mrdocs: Return the cumulative number of bytes ever allocated from this object. Note that `numBytesInUse() <= numBytesTotal()`. == Synopsis Declared in `<bdlma_countingallocator.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BloombergLP/bsls/Types/Int64.adoc[bsls::Types::Int64] numBytesTotal() const; ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#