特征:
Linux
Neo4j version 3.2.1
Access on remote
安装
我安装了neo4j并给了chmod 777这个文件夹。 我在我的机器上远程运行它,我已经启用了非本地访问 做NEo4j开始我得到这个消息
Active database: graph.db
Directories in use:
home: /home/cloudera/Muna/apps/neo4j
config: /home/cloudera/Muna/apps/neo4j/conf
logs: /home/cloudera/Muna/apps/neo4j/logs
plugins: /home/cloudera/Muna/apps/neo4j/plugins
import: /home/cloudera/Muna/apps/neo4j/import
data: /home/cloudera/Muna/apps/neo4j/data
certificates: /home/cloudera/Muna/apps/neo4j/certificates
run: /home/cloudera/Muna/apps/neo4j/run
Starting Neo4j.
WARNING: Max 1024 open files allowed, minimum of 40000 recommended. See the Neo4j manual.
Started neo4j (pid 9469). It is available at http://0.0.0.0:7474/
There may be a short delay until the server is ready.
See /home/cloudera/Muna/apps/neo4j/logs/neo4j.log for current status.
并且它没有在浏览器中连接。 运行neo4j控制台
# There is insufficient memory for the Java Runtime Environment to continue.
# Native memory allocation (malloc) failed to allocate 409600000 bytes for AllocateHeap
# An error report file with more information is saved as:
# /home/cloudera/hs_err_pid18598.log
问题可能来自哪里?
答案 0 :(得分:0)
首先,您应将最大打开文件设置为40000,这是建议值。然后你没有得到警告。像这样:http://neo4j.com/docs/1.6.2/configuration-linux-notes.html
其次,'未能分配内存'表示Java虚拟机无法分配启动它的内存。 它可能是一个配置错误,或者你的身体没有足够的内存。 请在此处阅读内存大小调整指南: https://neo4j.com/docs/operations-manual/current/performance/