문제

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

    GraphDatabaseSettings.nodestore_mapped_memory_size
    GraphDatabaseSettings.relationshipstore_mapped_memory_size
    GraphDatabaseSettings.mapped_memory_page_size
    GraphDatabaseSettings.strings_mapped_memory_size
    GraphDatabaseSettings.arrays_mapped_memory_size

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?

도움이 되었습니까?

해결책

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

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top