mappingMemoryUsage
Return exact memory usage for each mapping array.
Developer documentation: this item describes internal implementation details.
Declaration
ledger = mappingMemoryUsage()
Returns
ledgerstructure array describing all uint64 mappings
Discussion
Each entry records name, MATLAB class, shape, and bytes. The sum of ledger.bytes equals mappingMemoryBytes.