`ray.cluster_resources()` output

Hi,

what is the difference between memory and object_store_memory entries?

import ray
ray.init()

ray.cluster_resources()
{'CPU': 112.0,
 'node:x.x.x.x': 1.0,
 'memory': 75138.0,
 'object_store_memory': 2632.0}

The machine has 112 cores.

Thanks in advance!

Hello, object_store_memory is the ray plasma store memory designed to store python pickled objects via cloud pickle library, please read about ray memory management here:

https://docs.ray.io/en/master/memory-management.html

1 Like

@asm582 , thanks for pointing to it, i.e. memory entry shows the amount of all the rest memory, am I correct?