java.lang.OutOfMemoryError: GC overhead limit exceeded

GitHub | kkalera | 7 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.

Root Cause Analysis

  1. java.lang.OutOfMemoryError

    GC overhead limit exceeded

    at org.openstreetmap.osmosis.osmbinary.Osmformat$Way$1.parsePartialFrom()
  2. osmosis-osm-binary
    Osmformat$Way$1.parsePartialFrom
    1. org.openstreetmap.osmosis.osmbinary.Osmformat$Way$1.parsePartialFrom(Osmformat.java:10593)
    2. org.openstreetmap.osmosis.osmbinary.Osmformat$Way$1.parsePartialFrom(Osmformat.java:10588)
    2 frames
  3. Protocol Buffer Java API
    CodedInputStream.readMessage
    1. com.google.protobuf.CodedInputStream.readMessage(CodedInputStream.java:495)
    1 frame
  4. osmosis-osm-binary
    Osmformat$PrimitiveGroup$1.parsePartialFrom
    1. org.openstreetmap.osmosis.osmbinary.Osmformat$PrimitiveGroup.<init>(Osmformat.java:3441)
    2. org.openstreetmap.osmosis.osmbinary.Osmformat$PrimitiveGroup.<init>(Osmformat.java:3368)
    3. org.openstreetmap.osmosis.osmbinary.Osmformat$PrimitiveGroup$1.parsePartialFrom(Osmformat.java:3496)
    4. org.openstreetmap.osmosis.osmbinary.Osmformat$PrimitiveGroup$1.parsePartialFrom(Osmformat.java:3491)
    4 frames
  5. Protocol Buffer Java API
    CodedInputStream.readMessage
    1. com.google.protobuf.CodedInputStream.readMessage(CodedInputStream.java:495)
    1 frame
  6. osmosis-osm-binary
    Osmformat$PrimitiveBlock$1.parsePartialFrom
    1. org.openstreetmap.osmosis.osmbinary.Osmformat$PrimitiveBlock.<init>(Osmformat.java:2421)
    2. org.openstreetmap.osmosis.osmbinary.Osmformat$PrimitiveBlock.<init>(Osmformat.java:2356)
    3. org.openstreetmap.osmosis.osmbinary.Osmformat$PrimitiveBlock$1.parsePartialFrom(Osmformat.java:2471)
    4. org.openstreetmap.osmosis.osmbinary.Osmformat$PrimitiveBlock$1.parsePartialFrom(Osmformat.java:2466)
    4 frames
  7. Protocol Buffer Java API
    AbstractParser.parseFrom
    1. com.google.protobuf.AbstractParser.parsePartialFrom(AbstractParser.java:137)
    2. com.google.protobuf.AbstractParser.parseFrom(AbstractParser.java:168)
    3. com.google.protobuf.AbstractParser.parseFrom(AbstractParser.java:180)
    4. com.google.protobuf.AbstractParser.parseFrom(AbstractParser.java:185)
    5. com.google.protobuf.AbstractParser.parseFrom(AbstractParser.java:49)
    5 frames
  8. osmosis-osm-binary
    Osmformat$PrimitiveBlock.parseFrom
    1. org.openstreetmap.osmosis.osmbinary.Osmformat$PrimitiveBlock.parseFrom(Osmformat.java:2722)
    1 frame
  9. com.graphhopper.reader
    PbfBlobDecoder.run
    1. com.graphhopper.reader.osm.pbf.PbfBlobDecoder.processOsmPrimitives(PbfBlobDecoder.java:369)
    2. com.graphhopper.reader.osm.pbf.PbfBlobDecoder.runAndTrapExceptions(PbfBlobDecoder.java:393)
    3. com.graphhopper.reader.osm.pbf.PbfBlobDecoder.run(PbfBlobDecoder.java:408)
    3 frames
  10. Java RT
    Thread.run
    1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    3. java.lang.Thread.run(Thread.java:745)
    3 frames