Neo.TransientError.General.OutOfMemoryError
Neo.TransientError.General.OutOfMemoryError: There is not enough memory to perform the current task. Please try increasing 'dbms.memory.heap.max_size' in the neo4j configuration (normally in 'conf/neo4j.conf' or, if you you are using Neo4j Desktop, found through the user interface) or if you are running an embedded installation increase the heap by using '-Xmx' command line flag, and then restart the database.
打开 conf/neo4j.conf ,
找到 #dbms.memory.heap.max_size=512m 这一行,
去掉 #, 更改 512m
设置JVM初始堆内存和JVM最大堆内存,建议生产环境给的JVM最大堆内存越大越好,但是要小于机器的物理内存 dbms.memory.heap.initial_size=1G
dbms.memory.heap.max_size=3G