Files
lincodex/runner/testdata/hostile/python/memory_leak.py
T

5 lines
140 B
Python

# Unbounded allocation of touched memory: the cgroup memory limit must stop it.
chunks = []
while True:
chunks.append(b"x" * (1 << 20))