You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 1, 2021. It is now read-only.
I'm trying to export a table from MySQL to Neo4j using a PHP script. The table contains some 2 million rows. The script aborts everytime at around 500k rows with this error:
Have you found a solution or a workaround for this issue please ?
On my side, I debugged a long-running process and found out the memory was used in the class variable $this->bytes of the class GraphAware\Bolt\PackStream\StreamChannel.
In a long running process, it add all the received data from the start of session in this variable, so this variable get bigger and bigger...
I have not found yet a clean way to restart the session or the client because I'm using Symfony and its dependency injection, but in your case, I guess that recreating a new client from time to time would solve your issue.
It would be nice if you could let us know how you solved this on your side.
@betd-claumond Yep, that's what I found too. I believe I changed the script so that it could pick up the work from last run and continue. But I don't have a solution for this. It's just a one time use script. Sorry.
I'm trying to export a table from MySQL to Neo4j using a PHP script. The table contains some 2 million rows. The script aborts everytime at around 500k rows with this error:
The script I'm using is as follows:
The text was updated successfully, but these errors were encountered: