一切都在Macbook上运行正常,但我也试图在Ubuntu 11.04服务器上执行相同操作.
运行/usr/local / elasticsearch / bin / elasticsearch -f工作,并从curl http:// localhost:9200获取响应.
但是,当我尝试启动ElasticSearch作为服务(我已经安装了服务包装器)时,这是我所得到的:
$rcelasticsearch start Starting ElasticSearch... Waiting for ElasticSearch............................. WARNING: ElasticSearch may have Failed to start.
当然可以这样说,ElasticSearch没有运行,localhost:9200无法访问.
任何想法可能是什么问题?
编辑:
服务日志说:
Launching a JVM... JVM exited while loading the application. Error occurred during initialization of VM Could not reserve enough space for object heap