Delphi / Object Pascal · Exception
What does Runtime Error 203: Heap overflow, EOutOfMemory mean in Delphi / Object Pascal?
A memory allocation request could not be satisfied because the heap or the address space available to the process was exhausted.
A memory allocation request could not be satisfied because the heap or the address space available to the process was exhausted.
Check for a leak, most commonly an object created and never freed inside a loop, before assuming the machine simply needs more memory. A genuine one-time large allocation failing is far less common in practice than a slow leak that eventually exhausts what is available.