code: def test_big_worker_has_big_memory():
      backend = hl.current_backend()
      assert isinstance(backend, ServiceBackend)
      backend.worker_cores = 8
      backend.worker_memory = "highmem"
      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())
      # We only eval the small thing so that we trigger an OOM on the worker
      # but not the driver or client
      hl.eval(t.aggregate(hl.agg.sum(t.nd_sum), _localize=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 4 for calling a global function with example usage: test_big_worker_has_big_memory() without return types