Remove memory quota enforcement from actors (#11480)

* wip

* fix

* deprecate
This commit is contained in:
Eric Liang
2020-10-21 14:29:03 -07:00
committed by GitHub
parent 8c82369cad
commit e8c77e2847
5 changed files with 1 additions and 81 deletions
-5
View File
@@ -397,11 +397,6 @@ cdef execute_task(
next_title = f"ray::{class_name}"
pid = os.getpid()
worker_name = f"ray_{class_name}_{pid}"
if c_resources.find(b"memory") != c_resources.end():
worker.memory_monitor.set_heap_limit(
worker_name,
ray_constants.from_memory_units(
dereference(c_resources.find(b"memory")).second))
if c_resources.find(b"object_store_memory") != c_resources.end():
worker.core_worker.set_object_store_client_options(
worker_name,