code: def __init__(self):
      self.allocations = []
  
file_path: ray/doc/source/ray-core/doc_code/ray_oom_prevention.py
imports: import ray
  import ray
  from math import ceil
  import ray
  from ray._private.utils import get_system_memory
  from ray._private.utils import get_used_memory
label_desc: Use image node_id 1 to create a new MemoryHogger object  with example: obj = MemoryHogger()