MySQL 9.5 Reference Manual Including MySQL NDB Cluster 9.5
These views summarize total memory use within the server.
The memory_global_total and
x$memory_global_total views have
these columns:
total_allocated
The total bytes of memory allocated within the server.