bitcoind.app
CommandsGuidesContact ↗
Home/Control/getmemoryinfo
Control

getmemoryinfo

Returns an object containing information about memory usage.

Parameters

modestringoptional
"stats" or "mallocinfo". Default: "stats"

Returns

objectMemory usage information

Code Examples

curl --user myuser --data-binary '{"jsonrpc":"1.0","id":"1","method":"getmemoryinfo","params":[]}' -H 'content-type:text/plain;' http://127.0.0.1:8332/

Example Response

{
  "locked": {
    "used": 65536,
    "free": 0,
    "total": 65536,
    "locked": 65536
  }
}
← Previous
verifytxoutproof
Next →
getrpcinfo

More Control Commands

getrpcinfohelploggingstopuptime

bitcoind.app — Bitcoin Core RPC Reference

GuidesContact ↗