From afca6d3d872b6ec76631c50593ba2b0cb93d697f Mon Sep 17 00:00:00 2001 From: Eric Liang Date: Fri, 8 Nov 2019 14:08:24 -0800 Subject: [PATCH] Object store full with cyclic python references (#6114) --- python/ray/_raylet.pyx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/python/ray/_raylet.pyx b/python/ray/_raylet.pyx index e72115ecd..3aa7b0613 100644 --- a/python/ray/_raylet.pyx +++ b/python/ray/_raylet.pyx @@ -6,6 +6,7 @@ from cpython.exc cimport PyErr_CheckSignals import numpy +import gc import threading import time import logging @@ -733,6 +734,7 @@ cdef class CoreWorker: if attempt: logger.warning("Waiting {} seconds for space to free up " "in the object store.".format(delay)) + gc.collect() time.sleep(delay) delay *= 2 else: