I am chasing a problem: every few days my system crashes with
Slogan: eheap_alloc: Cannot allocate 600904 bytes of memory (of type "heap").
System version: Erlang/OTP 22 [erts-10.5.4] [source] [64-bit] [smp:2:2] [ds:2:2:10] [async-threads:1] [hipe]
I used to have some OOM situations but they were caused by e.g. infinite loops causing messages queues to fill the entire memory. This time it is something different. The memory usage at the moment of crash reported by cdv was 6081 MB. The system runs on a VM with 14GB of RAM, and nothing else is on this VM. Memory monitoring shows stable usage on the level of 6GB consistent with crash dump. So at the moment of crash Beam had still 8GB available, yet it could not allocate 600k.
Not sure if this is relevant but most of the memory used by the system is in one Mnesia ETS table – at the moment of crash it was 5631 MB.
Anyone aware of possible cause of situation when Erlang cannot allocate memory, though plenty is still available?