Hello,
I'm having the same issue. I've been trying for a fews days now to upload a data set of 1.5 gb csv files into neo4j and have been un successfull :( I ran into various Out of memory issues... I finally gave up and put it on a 64 GB machine on google compute engine... still no luck.
I load a dataset cosisting of: enterprise.csv, establishment.csv ... establishment is about 17 mil rows.
I have split the csv files in chucks of 1000 and start and end a transaction after merging each chunk.
I first insert all enterprices, then all establishments... this part goes fine. But the creating a relation between them always fails after inserting a few chunks .... don't know how many, let say 200 time 1000 lines.
These are my memory settings:
dbms.memory.pagecache.size=10g
dbms.memory.transaction.global_max_size=10g
dbms.memory.transaction.max_size=10g
dbms.tx_state.memory_allocation=ON_HEAP
dbms.jvm.additional=-XX:MaxDirectMemorySize=20g
dbms.jvm.additional=-Dio.netty.maxDirectMemory=20g
During the upload of the relationships, my docker instance keeps quitting with these logs:
...
2020-08-01 16:55:39.415+0000 ERROR Client triggered an unexpected error [Neo.DatabaseError.Schema.IndexDropFailed]: Unable to drop index: Index belongs to constraint: (:Code {code}), reference 370065a0-bbe7-41f6-9482-d9ed5cb5bea0.
malloc(): invalid next size (unsorted)
this is the log of neo4j itself:
2020-08-01 16:55:41.095+0000 WARN [o.n.k.i.c.VmPauseMonitorComponent] Detected VM stop-the-world pause: {pauseTime=269, gcTime=295, gcCount=1}
2020-08-01 16:56:50.787+0000 INFO [o.n.k.d.Database] [neo4j] Rotated to transaction log [/data/transactions/neo4j/neostore.transaction.db.1] version=0, last transaction in previous log=826, rotation took 25 millis.
2020-08-01 16:58:07.057+0000 INFO [o.n.k.d.Database] [neo4j] Rotated to transaction log [/data/transactions/neo4j/neostore.transaction.db.2] version=1, last transaction in previous log=1756, rotation took 22 millis, started after 76248 millis.
2020-08-01 16:59:20.352+0000 INFO [o.n.k.d.Database] [neo4j] Rotated to transaction log [/data/transactions/neo4j/neostore.transaction.db.3] version=2, last transaction in previous log=2779, rotation took 23 millis, started after 73272 millis.
I just saw this: 2020-08-01 16:55:41.095+0000 WARN [o.n.k.i.c.VmPauseMonitorComponent] Detected VM stop-the-world pause: {pauseTime=269, gcTime=295, gcCount=1}
I have seen these before, as I said, I am on a 64 gb machine (12 cpu's I think).
Any help would be appreciated! This is driving me nuts. I would have no problem with someone loggin in on the machine and having a look. Nothing secret on there.
Kr,
Nick