Skip to content

Commit

Permalink
OGM-1309 Set the max size of Neo4j page cache
Browse files Browse the repository at this point in the history
  • Loading branch information
gsmet committed Sep 6, 2017
1 parent 98544de commit 4bc16f2
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
3 changes: 3 additions & 0 deletions neo4j/src/test/resources/hibernate.properties
Expand Up @@ -9,3 +9,6 @@ hibernate.ogm.datastore.provider = ${datastoreProvider}

# Only for embedded
hibernate.ogm.neo4j.database_path = ${project.build.directory}

# Neo4j configuration file
hibernate.ogm.neo4j.configuration_resource_name = ${project.basedir}/src/test/resources/neo4j.conf
4 changes: 4 additions & 0 deletions neo4j/src/test/resources/neo4j.conf
@@ -0,0 +1,4 @@
# Max size of the page cache file
# see https://neo4j.com/docs/operations-manual/current/performance/

dbms.memory.pagecache.size=128M

0 comments on commit 4bc16f2

Please sign in to comment.