failedjava.lang.OutOfMemoryError: Java heap space

Google Groups | Wagner de Carvalho Ferreira | 5 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.
  1. 0

    Blank map after conversion of shapefile to .map (mapsforge)

    Google Groups | 5 months ago | Wagner de Carvalho Ferreira
    failedjava.lang.OutOfMemoryError: Java heap space

    Root Cause Analysis

    1. failedjava.lang.OutOfMemoryError

      Java heap space

      at gnu.trove.map.hash.TLongObjectHashMap.rehash()
    2. gnu.trove.map
      TLongObjectHashMap.rehash
      1. gnu.trove.map.hash.TLongObjectHashMap.rehash(TLongObjectHashMap.java:157)
      1 frame
    3. gnu.trove.impl
      THash.postInsertHook
      1. gnu.trove.impl.hash.THash.postInsertHook(THash.java:388)
      1 frame
    4. gnu.trove.map
      TLongObjectHashMap.put
      1. gnu.trove.map.hash.TLongObjectHashMap.doPut(TLongObjectHashMap.java:248)
      2. gnu.trove.map.hash.TLongObjectHashMap.put(TLongObjectHashMap.java:222)
      2 frames
    5. org.mapsforge.map
      MapFileWriterTask.process
      1. org.mapsforge.map.writer.RAMTileBasedDataProcessor.addNode(RAMTileBasedDataProcessor.java:81)
      2. org.mapsforge.map.writer.osmosis.MapFileWriterTask.process(MapFileWriterTask.java:160)
      2 frames
    6. crosby.binary.osmosis
      OsmosisBinaryParser.parseDense
      1. crosby.binary.osmosis.OsmosisBinaryParser.parseDense(OsmosisBinaryParser.java:138)
      1 frame
    7. osmosis-osm-binary
      BlockInputStream.process
      1. org.openstreetmap.osmosis.osmbinary.BinaryParser.parse(BinaryParser.java:124)
      2. org.openstreetmap.osmosis.osmbinary.BinaryParser.handleBlock(BinaryParser.java:68)
      3. org.openstreetmap.osmosis.osmbinary.file.FileBlock.process(FileBlock.java:135)
      4. org.openstreetmap.osmosis.osmbinary.file.BlockInputStream.process(BlockInputStream.java:34)
      4 frames
    8. crosby.binary.osmosis
      OsmosisReader.run
      1. crosby.binary.osmosis.OsmosisReader.run(OsmosisReader.java:45)
      1 frame
    9. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:745)
      1 frame