Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.
04-22-2022 01:05 AM
and how can I identify this issue in my local ?
is that any tool available for that by which I can able to handle
04-22-2022 01:37 AM
Hi
There is a tool known as memrec.Please use it to tune your server memory.
Many thanks
Mr Sameer Gijare
04-22-2022 05:02 AM
@sandeepakkumar1999
What version of Neo4j?
The tool memrec and as described here Memory recommendations - Operations Manual is not the end all be all.
One can still cause out of memory even with the parameters set 'correctly'.
Run a query that results in a cartesian join between a set of nodes with label X against a set of nodes with label Y and whereby the X labeled nodes are 100 million and the Y labeled nodes are 50 million and more than likely you will out of memory.
Run a query that updates 500 million nodes in one txn and more than likely you will out of memory
Out of memory generally fall into either excessive query concurrency or excessive query complexity ( typically poorly defined queries) and or some combination of both. 100 concurrent match (n:Person) return n limit 1;
will consume less heap/memory than a single match (n1:Person),(n2:Person) where n1.id<>n2.id with n1, n2 match .... ..... unwind .... collect... return distinct ....
As to memory configurations see
If this is Neo4j 4.4? ??? you can use CALL {} (subquery) - Neo4j Cypher Manual to batch large scale creates/updates/deletes
All the sessions of the conference are now available online