Open monyxie opened 4 years ago
Hello @monyxie
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.
Best Regards, Christophe
@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.
@monyxie thanks for the feedback !
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: