I have been trying to run this query as recommended in the neo4j google group and in other sources online:
START n = node(*) MATCH n-[r?]-() WHERE ID(n)>0 DELETE n, r;>
I found a better solution in the Neo4J knowledge base [1]:
CALL apoc.periodic.iterate( "MATCH (n) RETURN n", "DETACH DELETE n", {batchSize:1000} ) YIELD batches, total RETURN batches, total
[1] - https://neo4j.com/developer/kb/large-delete-transaction-best-practices-in-neo4j/