cancel
Showing results for 
Search instead for 
Did you mean: 

Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.

278.0 MiB. Currently using 278.0 MiB. dbms.memory.transaction.global_max_size threshold reached

Hello,

I am getting a below error while running a query.

#### Neo.TransientError.General.MemoryPoolOutOfMemoryError

The allocation of an extra 2.0 MiB would use more than the limit 278.0 MiB. Currently using 278.0 MiB. dbms.memory.transaction.global_max_size threshold reached

How can I avoid this error?

Thanks in Advance!

1 ACCEPTED SOLUTION

Where do you get the error?
It means that the current statement would allocate more memory than permitted.

If you run large updates please batch them, e.g. from the client in chunks of 50k to 100k lists of parameters, with USING PERIODIC COMMIT for LOAD CSV or by using apoc.periodic.iterate

see: Best Practices to Make (Very) Large Updates in Neo4j -

View solution in original post

2 REPLIES 2

Where do you get the error?
It means that the current statement would allocate more memory than permitted.

If you run large updates please batch them, e.g. from the client in chunks of 50k to 100k lists of parameters, with USING PERIODIC COMMIT for LOAD CSV or by using apoc.periodic.iterate

see: Best Practices to Make (Very) Large Updates in Neo4j -

Thanks @michael.hunger . Luckily client had wrong request regarding the query. So, I did not use it but I will use this in the future. Thank you so much for the help.