Hi,
I am a newbie of Neo4j and I am currently doing some tests.
I have installed Neo4j2.1.1 enterprise into a VM equipped with an IntelXeon
2CPU @2.67GHz and 8GB RAM on Windows 7 64bit and Java8 64bit.
I am working with the Neo4jShell from localhost and I have set some jvm
options (EXTRA_JVM_ARGUMENTS=-Xms2000m -Xmx5000m) into Neo4jShell.bat
I have successfully load 2.000.000 nodes (with 12 simple properties each)
from a CSV file using the LOAD CSV command in 5 minutes.
I have also set 2 index on two properties of these nodes.
Now I want to delete all of them using Cypher with the statement "MATCH
(p:Label) DELETE p" but I get this java exception:
neo4j-sh (?)$ match (p:Label) delete p;
Exception in thread "main" java.lang.OutOfMemoryError: GC overhead limit
exceede
d
at org.neo4j.kernel.impl.util.ArrayMap.put(ArrayMap.java:136)
at
org.neo4j.kernel.impl.nioneo.xa.PropertyDeleter.getAndDeletePropertyC
hain(PropertyDeleter.java:58)
at
org.neo4j.kernel.impl.nioneo.xa.NeoStoreTransactionContext.getAndDele
tePropertyChain(NeoStoreTransactionContext.java:113)
at
org.neo4j.kernel.impl.nioneo.xa.NeoStoreTransaction.getAndDeletePrope
rtyChain(NeoStoreTransaction.java:1088)
at
org.neo4j.kernel.impl.nioneo.xa.NeoStoreTransaction.nodeDelete(NeoSto
reTransaction.java:1083)
at
org.neo4j.kernel.impl.persistence.PersistenceManager.nodeDelete(Persi
stenceManager.java:109)
at
org.neo4j.kernel.impl.core.NodeManager.deleteNode(NodeManager.java:72
0)
at
org.neo4j.kernel.impl.api.state.OldTxStateBridgeImpl.deleteNode(OldTx
StateBridgeImpl.java:131)
at
org.neo4j.kernel.impl.api.state.TxStateImpl.nodeDoDelete(TxStateImpl.
java:371)
at
org.neo4j.kernel.impl.api.StateHandlingStatementOperations.nodeDelete
(StateHandlingStatementOperations.java:108)
at
org.neo4j.kernel.impl.api.ConstraintEnforcingEntityOperations.nodeDel
ete(ConstraintEnforcingEntityOperations.java:147)
at
org.neo4j.kernel.impl.api.LockingStatementOperations.nodeDelete(Locki
ngStatementOperations.java:202)
at
org.neo4j.kernel.impl.api.OperationsFacade.nodeDelete(OperationsFacad
e.java:507)
at
org.neo4j.cypher.internal.spi.v2_1.TransactionBoundQueryContext$NodeO
perations.delete(TransactionBoundQueryContext.scala:138)
at
org.neo4j.cypher.internal.spi.v2_1.TransactionBoundQueryContext$NodeO
perations.delete(TransactionBoundQueryContext.scala:136)
at
org.neo4j.cypher.internal.compiler.v2_1.spi.DelegatingOperations.dele
te(DelegatingQueryContext.scala:112)
at
org.neo4j.cypher.internal.compiler.v2_1.spi.ExceptionTranslatingQuery
Context$ExceptionTranslatingOperations.org$neo4j$cypher$internal$compiler$v2_1$s
pi$ExceptionTranslatingQueryContext$ExceptionTranslatingOperations$$super$delete
(ExceptionTranslatingQueryContext.scala:118)
at
org.neo4j.cypher.internal.compiler.v2_1.spi.ExceptionTranslatingQuery
Context$ExceptionTranslatingOperations$$anonfun$delete$1.apply$mcV$sp(ExceptionT
ranslatingQueryContext.scala:118)
at
org.neo4j.cypher.internal.compiler.v2_1.spi.ExceptionTranslatingQuery
Context$ExceptionTranslatingOperations$$anonfun$delete$1.apply(ExceptionTranslat
ingQueryContext.scala:118)
at
org.neo4j.cypher.internal.compiler.v2_1.spi.ExceptionTranslatingQuery
Context$ExceptionTranslatingOperations$$anonfun$delete$1.apply(ExceptionTranslat
ingQueryContext.scala:118)
at
org.neo4j.cypher.internal.compiler.v2_1.spi.ExceptionTranslatingQuery
Context.org$neo4j$cypher$internal$compiler$v2_1$spi$ExceptionTranslatingQueryCon
text$$translateException(ExceptionTranslatingQueryContext.scala:149)
at
org.neo4j.cypher.internal.compiler.v2_1.spi.ExceptionTranslatingQuery
Context$ExceptionTranslatingOperations.delete(ExceptionTranslatingQueryContext.s
cala:118)
at
org.neo4j.cypher.internal.compiler.v2_1.spi.UpdateCountingQueryContex
t$CountingOps.delete(UpdateCountingQueryContext.scala:120)
at
org.neo4j.cypher.internal.compiler.v2_1.mutation.DeleteEntityAction.o
rg$neo4j$cypher$internal$compiler$v2_1$mutation$DeleteEntityAction$$delete(Delet
eEntityAction.scala:50)
at
org.neo4j.cypher.internal.compiler.v2_1.mutation.DeleteEntityAction.e
xec(DeleteEntityAction.scala:36)
at
org.neo4j.cypher.internal.compiler.v2_1.pipes.ExecuteUpdateCommandsPi
pe.org$neo4j$cypher$internal$compiler$v2_1$pipes$ExecuteUpdateCommandsPipe$$exec
(ExecuteUpdateCommandsPipe.scala:55)
at
org.neo4j.cypher.internal.compiler.v2_1.pipes.ExecuteUpdateCommandsPi
$$$$1019fdff8b266d7d9d5647386930b3d8$$$$ands$1$$anonfun$apply$2.apply(ExecuteUpd
ateCommandsPipe.scala:44)
at
org.neo4j.cypher.internal.compiler.v2_1.pipes.ExecuteUpdateCommandsPi
$$$$1019fdff8b266d7d9d5647386930b3d8$$$$ands$1$$anonfun$apply$2.apply(ExecuteUpd
ateCommandsPipe.scala:44)
at scala.collection.Iterator$$anon$13.hasNext(Iterator.scala:371)
at scala.collection.Iterator$$anon$13.hasNext(Iterator.scala:371)
at
org.neo4j.cypher.internal.compiler.v2_1.pipes.EmptyResultPipe.interna
lCreateResults(EmptyResultPipe.scala:28)
at
org.neo4j.cypher.internal.compiler.v2_1.pipes.PipeWithSource.createRe
sults(Pipe.scala:98)
--
You received this message because you are subscribed to the Google Groups
"Neo4j" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.