[rabbitmq-discuss] RabbitMQ crash due to out of memory

Matthias Radestock matthias at rabbitmq.com
Wed Aug 29 18:50:31 BST 2012

On 29/08/12 18:24, Chen, Bin wrote:
> My system is Windows 2008 Server 64-bit which has 24 GB RAM installed.
> Erlang is a 32-bit version.

Please switch to the 64-bit version.

> Since Erlang VM has /LARGEADDRESSAWARE flag set, which implies it can
> use up to 4 GB on a 64-bit Windows, we increased HWM to 1.6 GB.

I am not convinced that is true. Please try the following:

- in a command shell run 'erl.exe'
- at the prompt, enter
      binary:copy(<<0>>, 1024*1024*1024*3).
   (including the final '.') and hit return.

That should churn away for a few seconds and eventually print


If it dies instead then Erlang cannot use 4GB.



More information about the rabbitmq-discuss mailing list