+1 vote
in Neo4j by
what are the different types of object caches in Neo4j?

2 Answers

0 votes
by
  • Reference caches
  • High performance caches

With this cache, Neo4j will use as much as allocated JVM heap memory as it can hold nodes and relationships It gets assigned a certain maximum amount of space on the JVM heap and will delete objects whenever it grows bigger than that.

0 votes
by

There are two different types of object caches in Neo4j

  1. Reference Caches: With this cache, Neo4j will use as much as allocated JVM heap memory as it can hold nodes and relationships
  2. High-performance Caches: It get assigned a certain maximum amount of space on the JVM heap and will delete objects whenever it grows bigger than that.

Relationship and Nodes are added to the object cache as soon as they are accessed

Related questions

0 votes
asked Jan 24, 2023 in Neo4j by sharadyadav1986
0 votes
asked Dec 29, 2023 in Neo4j by Robin
...