java.lang.IllegalStateException: Tried to read in a value larger than effective buffer size 2097152

Stack Overflow | hr02 | 10 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    neo4 - Import Issue: Tried to read in a value larger than effective buffer size

    Stack Overflow | 10 months ago | hr02
    java.lang.IllegalStateException: Tried to read in a value larger than effective buffer size 2097152
  2. 0

    Error on importing 40M+ data using neo4j-import tool

    Stack Overflow | 2 years ago | luck
    java.lang.RuntimeException: Panic called, so exiting

    Root Cause Analysis

    1. java.lang.IllegalStateException

      Tried to read in a value larger than effective buffer size 2097152

      at org.neo4j.csv.reader.BufferedCharSeeker.fillBufferIfWeHaveExhaustedIt()
    2. Neo4j - CSV reading and parsing
      BufferedCharSeeker.seek
      1. org.neo4j.csv.reader.BufferedCharSeeker.fillBufferIfWeHaveExhaustedIt(BufferedCharSeeker.java:275)
      2. org.neo4j.csv.reader.BufferedCharSeeker.nextChar(BufferedCharSeeker.java:247)
      3. org.neo4j.csv.reader.BufferedCharSeeker.seek(BufferedCharSeeker.java:98)
      3 frames
    3. org.neo4j.cypher
      CSVResources$$anon$1$$anonfun$readNextRow$1.apply$mcV$sp
      1. org.neo4j.cypher.internal.compiler.v3_0.spi.CSVResources$$anon$1$$anonfun$readNextRow$1.apply$mcV$sp(CSVResources.scala:78)
      1 frame
    4. Scala
      Breaks.breakable
      1. scala.util.control.Breaks.breakable(Breaks.scala:38)
      1 frame
    5. org.neo4j.cypher
      LoadCSVPipe$IteratorWithHeaders.hasNext
      1. org.neo4j.cypher.internal.compiler.v3_0.spi.CSVResources$$anon$1.readNextRow(CSVResources.scala:77)
      2. org.neo4j.cypher.internal.compiler.v3_0.spi.CSVResources$$anon$1.next(CSVResources.scala:98)
      3. org.neo4j.cypher.internal.compiler.v3_0.spi.CSVResources$$anon$1.next(CSVResources.scala:74)
      4. org.neo4j.cypher.internal.compiler.v3_0.executionplan.LoadCsvIterator.next(LoadCsvIterator.scala:30)
      5. org.neo4j.cypher.internal.compiler.v3_0.executionplan.LoadCsvIterator.next(LoadCsvIterator.scala:24)
      6. org.neo4j.cypher.internal.compiler.v3_0.pipes.LoadCSVPipe$IteratorWithHeaders.computeNextRow(LoadCSVPipe.scala:84)
      7. org.neo4j.cypher.internal.compiler.v3_0.pipes.LoadCSVPipe$IteratorWithHeaders.hasNext(LoadCSVPipe.scala:70)
      7 frames
    6. Scala
      Iterator$$anon$12.hasNext
      1. scala.collection.Iterator$$anon$12.hasNext(Iterator.scala:438)
      2. scala.collection.Iterator$$anon$11.hasNext(Iterator.scala:408)
      3. scala.collection.Iterator$$anon$11.hasNext(Iterator.scala:408)
      4. scala.collection.Iterator$$anon$12.hasNext(Iterator.scala:439)
      5. scala.collection.Iterator$$anon$12.hasNext(Iterator.scala:439)
      6. scala.collection.Iterator$$anon$12.hasNext(Iterator.scala:439)
      6 frames
    7. org.neo4j.cypher
      DefaultExecutionResultBuilderFactory$ExecutionWorkflowBuilder.createResults
      1. org.neo4j.cypher.internal.compiler.v3_0.pipes.EmptyResultPipe.internalCreateResults(EmptyResultPipe.scala:31)
      2. org.neo4j.cypher.internal.compiler.v3_0.pipes.PipeWithSource.createResults(Pipe.scala:126)
      3. org.neo4j.cypher.internal.compiler.v3_0.pipes.PipeWithSource.createResults(Pipe.scala:123)
      4. org.neo4j.cypher.internal.compiler.v3_0.executionplan.DefaultExecutionResultBuilderFactory$ExecutionWorkflowBuilder.createResults(DefaultExecutionResultBuilderFactory.scala:96)
      4 frames