cancel
Showing results for 
Search instead for 
Did you mean: 

"Wanted to access" error when importing

Dear all,

Please see the image. I am getting the following error:

IMPORT FAILED in 1m 45s 208ms.
Imported:
  13467502 nodes
  19765485 relationships
  83163669 properties
Peak memory usage: 1.15 GB
Import error: Wanted to access 1346872 but range is 8081232-1346872
Caused by:Wanted to access 1346872 but range is 8081232-1346872
java.lang.IndexOutOfBoundsException: Wanted to access 1346872 but range is 8081232-1346872
        at org.neo4j.unsafe.impl.batchimport.cache.OffHeapByteArray.checkBounds(OffHeapByteArray.java:328)
        at org.neo4j.unsafe.impl.batchimport.cache.OffHeapByteArray.address(OffHeapByteArray.java:319)
        at org.neo4j.unsafe.impl.batchimport.cache.OffHeapByteArray.getInt(OffHeapByteArray.java:157)
        at org.neo4j.unsafe.impl.batchimport.cache.NodeRelationshipCache.nodeIsChanged(NodeRelationshipCache.java:401)
        at org.neo4j.unsafe.impl.batchimport.cache.NodeRelationshipCache.visitChangedNodes(NodeRelationshipCache.java:834)
        at org.neo4j.unsafe.impl.batchimport.ReadGroupRecordsByCacheStep.process(ReadGroupRecordsByCacheStep.java:60)
        at org.neo4j.unsafe.impl.batchimport.staging.ProducerStep$1.run(ProducerStep.java:63)

and I can't find information about it. Can you help?

1 ACCEPTED SOLUTION

It was about the heap size. As I am on Windows 10 I had to install java 64 bit and set the HEAP_SIZE variable to 2G.

View solution in original post

1 REPLY 1

It was about the heap size. As I am on Windows 10 I had to install java 64 bit and set the HEAP_SIZE variable to 2G.