code: def test_tiny_worker_has_tiny_memory():
      try:
          t = hl.utils.range_table(2, n_partitions=2).annotate(
              nd=hl.nd.ones((30_000, 30_000))
          )
          t = t.annotate(nd_sum=t.nd.sum())
          t.aggregate(hl.agg.sum(t.nd_sum))
      except Exception as exc:
          assert (
              "HailException: Hail off-heap memory exceeded maximum threshold"
              in exc.args[0]
          )
      else:
          assert False
  
file_path: hail/hail/python/test/hail/backend/test_service_backend.py
imports: import os
  import hail
  from ..helpers import skip_unless_service_backend, test_timeout, qobtest
  from hail.backend.service_backend import ServiceBackend
label_desc: Use image node_id 3 for calling a global function with example usage: test_tiny_worker_has_tiny_memory() without return types