What does the RPC call "getmemoryinfo" show? What does the output of the RPC call getmemoryinfo actually mean? For example, this is from my node running in Docker. Does that mean the bitcoind process inside the container is only using 64272 bytes of memory? That's only 64k, that can't be correct, right?
{
  &quot;result&quot;: {
    &quot;locked&quot;: {
      &quot;used&quot;: 64272,
      &quot;free&quot;: 1264,
      &quot;total&quot;: 65536,
      &quot;locked&quot;: 65536,
      &quot;chunks_used&quot;: 2002,
      &quot;chunks_free&quot;: 2
    }
  },
  &quot;error&quot;: null,
  &quot;id&quot;: &quot;curltest&quot;
}

These are the processes inside the container.
/ $ ps -a
PID   USER     TIME  COMMAND
    1 bitcoind 12:52 bitcoind -zmqpubrawblock=tcp://0.0.0.0:28332 -zmqpubrawtx=tcp://0.0.0.0:28333
   43 bitcoind  0:00 /bin/sh
   51 bitcoind  0:00 ps -a
It is reporting the memory statistics of the locked memory pool, not all memory used in general.
The locked pool is used to store private keys and other security-sensitive material. Bitcoin Core requests from the OS that the memory used by this locked pool is not swapped out, to prevent it from ending up on a swapfile/swap partition on disk.