Currently ray start ignores --memory settings, treating them like a burstable memory request, rather than a hard limit. Are there any known workarounds to cap memory usage of Ray Core servers?
More info
Currently parameters used to control all other resources [1] act as hard limits, but memory argument (of ray.init()) and --memory switch (of ray start) are definitely not hard limits. This becomes apparent when a container with Ray server is run separately from Jupyter Notebook server with the python client app, which allows us to distinguish between the client and server-side memory usage.
[1] i.e. object store memory and CPU / GPU numbers (provisioned with object_store_memory / --object-store-memory, num_cpus / --num-cpus and num_gpus / --num-gpus).