Skip to content
Advertisement

Memory map for Neo4j embedded

When using Neo4j in the embedded mode (Java API), one can manually set memory map settings using the following API calls (or similar):

JavaScript

My question is: Is the mapped memory allocated out of Java heap/extended memory or from the rest of the memory available. I know that for Neo4j server the latter is correct as long as it is run on Linux/Unix machines. But can someone confirm whether the same holds for the embedded version?

Advertisement

Answer

On Windows: from the heap

On MacOs/Unix: from the rest of the RAM

Embedded and server behave the same. That config for server is in conf/neo4j.properties

User contributions licensed under: CC BY-SA
6 People found this is helpful
Advertisement