With Neo4j 4.x, you have to use Java 11.
You can deactivate the retention of the txlogs in the neo4j.conf. It will reduce significantly the I/O. You'd better create all the nodes first and create the relationships in a second time.
You should not put...