How to resize "eheap_alloc" on windows system to start erlang server?

How to resize "eheap_alloc" on windows? This is done to check the load on the erlang server with multiple clients. My server successfully runs up to 100 clients, but if it is 200, the server runs for two minutes with good results, and then after a server failure and leads to an abnormal termination, showing

eheap_alloc: Cannot allocate 8414160 bytes of memory (of type "heap"). 

But on Linux, it can work for all clients successfully. How can I solve this problem?

help me something ....

thank.

+2
source share
2 answers

Have you tried [1]? erl + hms size

Sets the default heap size of processes to the size Size.

erl + hmbs Size

Sets the default binary virtual heap size of processes to the size Size.

with different sizes? [1] http://www.erlang.org/doc/man/erl.html

0

, , , Linux. - " ", . , , , .

0

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


All Articles