[#TxGraph-GetMainMemoryUsage]
= xref:TxGraph.adoc[TxGraph]::GetMainMemoryUsage
:relfileprefix: ../
:mrdocs:

Get the approximate memory usage for this object, just counting the main graph&period; If a staging graph is present, return a number corresponding to memory usage after AbortStaging() would be called&period; BlockBuilders&apos; memory usage, memory usage of internally queued operations, and memory due to temporary caches, is not included here&period; Can always be called&period;

== Synopsis

Declared in `&lt;txgraph&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
virtual
size&lowbar;t
GetMainMemoryUsage() noexcept = 0;
----

== Return Value

The approximate memory usage of the main graph, in bytes&period;


[.small]#Created with https://www.mrdocs.com[MrDocs]#
