Getting error : neobolt.exceptions.TransientError: There is not enough memory to perform the current task

Hi Everyone,

I am trying to perform a very simple operation that is to set a property attribute in some nodes in the existing graph.
I have around 20k JSON from which I need to fetch property den ingesting it in the node.

I am using below query

WITH apoc.convert.fromJsonMap('json_data') as value
                            UNWIND value.ts as node
                                MATCH (e:transaction{tsid: node.tsid}) 
                                    SET e.ts_he = node.he

this query would run around 20k times since I need to pass each JSON one by one and using python for that.
But after some JSON it is throwing error
neobolt.exceptions.TransientError: There is not enough memory to perform the current task.

I have passed 2 GB heap in neo4j conf for same