MCPcopy
hub / github.com/ray-project/ray / oomer

Function oomer

python/ray/_common/tests/test_usage_stats.py:269–272  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

267
268 @ray.remote
269 def oomer():
270 mem = []
271 while True:
272 mem.append([0] * 1000000000)
273
274 with ray.init() as ctx:
275 with pytest.raises(ray.exceptions.WorkerCrashedError):

Callers

nothing calls this directly

Calls 1

appendMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…