code: def leaks_memory():
      chunks = []
      bits_to_allocate = 8 * 100 * 1024 * 1024  # ~100 MiB
      while True:
          chunks.append([0] * bits_to_allocate)
  
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 for calling a global function with example usage: leaks_memory() without return types