Eheap_alloc: Can't allocate 8414160 bytes of memory (heap type) on a Windows system?

During stress testing of my erlang server with an increase in the number of (100, 200, 300, ....) clients that are also in erlang, I received some message on the Windows console if the number of clients exceeds 200. message

* "A reset failure was recorded on: erl_crash.dump. Eheap_alloc: Unable to allocate 8414160 bytes of memory (heap type). Abnormal termination" *.

This is a problem with windows. But if I test server load on a Linux system, it can work for any number of clients until the system load reaches saturation.

can anyone help me override this problem?

Thank.

+3
source share
1 answer

Simply put, your application has ended. Probably the easiest way to control this is to check which process is digesting the memory. You can check os_mon or simpler:

etop:start()
0
source

Source: https://habr.com/ru/post/1776616/


All Articles