How to change the "eheap_alloc" size on windows? This is for to do load test of erlang server with several number of clients. My server is running successfully up to 100 clients but if it is 200, server works two minutes with good results and then after server crashed and resulted with abnormal termination by showing
eheap_alloc: Cannot allocate 8414160 bytes of memory (of type "heap").
But in Linux it can work for all the clients successfully. How can I over come this problem?
help me some one....
thank you.
Have you tried [1] ? erl +hms Size
erl +hmbs Size
with different Sizes ? [1] http://www.erlang.org/doc/man/erl.html
When you get this message there is probably some memory leak in you server even it works well at Linux. This can be some sort of "live lock" which locking you from release memory in some circumstances. So best what you can do is look better what eats memory in your server.