启动RabbitMQ时收到此消息:
=WARNING REPORT==== 8-Feb-2014::10:43:42 ===
Only 2048MB of 23482MB memory usable due to limited address space.
Crashes due to memory exhaustion are possible - see
http://www.rabbitmq.com/memory.html#address-space
当我关注该链接时,我读到了如何使用64位Erlang VM。但是:
ajax:~ maxvitek$ erl
Erlang R16B03 (erts-5.10.4) [source] [64-bit] [smp:8:8] [async-threads:10] [hipe] [kernel-poll:false] [dtrace]
Eshell V5.10.4 (abort with ^G)
1>
...当然看起来是64位版本。这是将vm_memory_high_watermark
设置为1.如果我可以摆脱内存地址问题以便RabbitMQ可以使用更多的系统内存,我会将其设置为0.4。知道在哪里解决这个问题吗?
Erlang和RabbitMQ都是通过Homebrew安装的,在Mavericks上运行。