getmemoryinfo | Bitcoin

The getmemoryinfo method provides detailed information about the memory usage of the node. It can return data in two formats: a summary view (stats) or a detailed XML format (mallocinfo).

👍

Get you own node endpoint today

Start for free and get your app to production levels immediately. No credit card required.

You can sign up with your GitHub, X, Google, or Microsoft account.

Parameters

  • mode (optional): Specifies the format of the memory information. Can be either stats for a summary view or mallocinfo for detailed XML format. The default is stats.

Response

  • result — an object containing memory information in the requested format.
  • error — an object containing an error message if an error occurred, otherwise null.
  • id — an integer representing the ID of the request.

Use case

The getmemoryinfo method is useful for monitoring the memory usage of the node, helping in diagnosing memory-related issues or for general performance monitoring.

Try the getmemoryinfo RPC method yourself

Language
Click Try It! to start a request and see the response here!