GC memory fragmentation

Nathan S. no.public.email at example.com
Sun Apr 11 12:20:39 UTC 2021


On Sunday, 11 April 2021 at 09:10:22 UTC, tchaloupka wrote:
> Hi,
> we're using vibe-d (on Linux) for a long running REST API 
> server and have problem with constantly growing memory until 
> system kills it with OOM killer.

One thing that comes to mind: is your application compiled as 
32-bit? The garbage collector is much more likely to leak memory 
with a 32-bit address space since it much more likely for a 
random int to appear to be a pointer to the interior of a block 
of GC-allocated memory.


More information about the Digitalmars-d-learn mailing list