[#TxGraph-GetMainMemoryUsage] = xref:TxGraph.adoc[TxGraph]::GetMainMemoryUsage :relfileprefix: ../ :mrdocs: Get the approximate memory usage for this object, just counting the main graph. If a staging graph is present, return a number corresponding to memory usage after AbortStaging() would be called. BlockBuilders' memory usage, memory usage of internally queued operations, and memory due to temporary caches, is not included here. Can always be called. == Synopsis Declared in `<txgraph.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- virtual size_t GetMainMemoryUsage() noexcept = 0; ---- == Return Value The approximate memory usage of the main graph, in bytes. [.small]#Created with https://www.mrdocs.com[MrDocs]#