# Get machine learning memory usage info **GET /_ml/memory/{node_id}/_stats** **All methods and paths for this operation:**
GET /_ml/memory/_stats
GET /_ml/memory/{node_id}/_stats
Get information about how machine learning jobs and trained models are using memory, on each node, both within the JVM heap, and natively, outside of the JVM. ## Required authorization * Cluster privileges: `monitor_ml` ## Servers - http://api.example.com: http://api.example.com () ## Authentication methods - Api key auth - Basic auth - Bearer auth ## Parameters ### Path parameters - **node_id** (string) The names of particular nodes in the cluster to target. For example, `nodeId1,nodeId2` or `ml:true` ### Query parameters - **master_timeout** (string) Period to wait for a connection to the master node. If no response is received before the timeout expires, the request fails and returns an error. - **timeout** (string) Period to wait for a response. If no response is received before the timeout expires, the request fails and returns an error. ## Responses ### 200 #### Body: application/json (object) - **_nodes** (object) - **cluster_name** (string) - **nodes** (object) [Powered by Bump.sh](https://bump.sh)