In my neo4j machine I have limited memory but data/indexes easily exceed available memory.
Machine Physical RAM: 64G.
Output of bin/neo4j-admin memrec --database=graph.db
Based on the above, the following memory settings are recommended:
dbms.memory.heap.initial_size=24g dbms.memory.heap.max_size=24g dbms.memory.pagecache.size=28g
The numbers below have been derived based on your current data volume in database and index configuration of database 'graph.db'. They can be used as an input into more detailed memory analysis.
Lucene indexes: 47800m Data volume and native indexes: 129600m
I am not sure I should be more generous with lucene memory or page cache for my scenario.
My application is more write intensive than read. With limited memory what should be recommended memory setting to make it biased towards write.