gpt4 book ai didi

neo4j - Neo4j 社区版可以增加堆大小吗

转载 作者:行者123 更新时间:2023-12-04 17:51:57 26 4
gpt4 key购买 nike

我正在使用 neo4j 社区版。我使用 150 个节点,每个节点都相互关联。

当我运行一个查询时它抛出一个错误:

Neo.TransientError.General.OutOfMemoryError

如何增加堆大小?

最佳答案

是的,这是可以做到的。只需编辑您的 neo4j.conf 文件。看看the docs :

The heap memory size is determined by the parameters in NEO4J_HOME/conf/neo4j.conf, namely dbms.memory.heap.initial_size and dbms.memory.heap.max_size providing the heap size in Megabytes or with a unit, e.g. 16000 or preferably 16G. It is recommended to set these two parameters to the same value to avoid unwanted full garbage collection pauses.

关于neo4j - Neo4j 社区版可以增加堆大小吗,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/44048898/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com