I am unable to create 10K nodes neither in gui interface nor in cypher shell. I did follow Neo4j Performance Tuning (https://neo4j.com/developer/guide-performance-tuning/). I am using Ubuntu 16.04.5 LTS with 16GB RAM on Intel® Core™ i7 CPU @ 3.00GHz × 4. I have neo4j community version 3.4.7. I set the parameters in neo4j.conf as:
dbms.memory.heap.initial_size=8g
dbms.memory.heap.max_size=8g
dbms.memory.pagecache.size=10g
dbms.jvm.additional=-Xss8G
dbms.jvm.additional=-Xmx8G
I am using embedded installation. Even then, i am getting following error in cypher-shell:
There is not enough stack size to perform the current task. This is generally considered to be a database error, so please contact Neo4j support. You could try increasing the stack size: for example to set the stack size to 2M, add `dbms.jvm.additional=-Xss2M' to in the neo4j configuration (normally in 'conf/neo4j.conf' or, if you are using Neo4j Desktop, found through the user interface) or if you are running an embedded installation just add -Xss2M as command line flag
The cypher command file is attached in text file.