Neo4j Config
After successfully importing or restoring the database, you need to apply a few configurations before using it. This page explains those necessary steps.
DBMS Configuration​
Given the scale of the Bitcoin graph (billions of nodes and edges), the Neo4j Database Management System (DBMS) will likely run out of memory with the default configuration, potentially failing even during startup.
Therefore, you need to update and increase the default memory settings.
-
Open
neo4j.conf. You may follow this documentation on locating the file depending on the Neo4j deployment you are using. -
Make the changes listed below. Note that the values provided are merely examples; you should adjust them based on your system's available memory.
server.memory.heap.initial_size=4G
server.memory.heap.max_size=16G
server.memory.pagecache.size=16G