java.lang.OutOfMemoryError: Java heap space

GitHub | ccelio | 6 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

    Java OutOfMemoryErrors... during Infer Widths?

    GitHub | 6 months ago | ccelio
    java.lang.OutOfMemoryError: Java heap space

    Root Cause Analysis

    1. java.lang.OutOfMemoryError

      Java heap space

      at scala.collection.mutable.HashTable$class.resize()
    2. Scala
      AbstractMap.update
      1. scala.collection.mutable.HashTable$class.resize(HashTable.scala:251)
      2. scala.collection.mutable.HashTable$class.scala$collection$mutable$HashTable$$addEntry0(HashTable.scala:154)
      3. scala.collection.mutable.HashTable$class.findOrAddEntry(HashTable.scala:166)
      4. scala.collection.mutable.LinkedHashMap.findOrAddEntry(LinkedHashMap.scala:49)
      5. scala.collection.mutable.LinkedHashMap.put(LinkedHashMap.scala:71)
      6. scala.collection.mutable.LinkedHashMap.$plus$eq(LinkedHashMap.scala:89)
      7. scala.collection.mutable.LinkedHashMap.$plus$eq(LinkedHashMap.scala:49)
      8. scala.collection.mutable.MapLike$class.update(MapLike.scala:88)
      9. scala.collection.mutable.AbstractMap.update(Map.scala:80)
      9 frames
    3. firrtl.passes
      InferTypes$$anonfun$firrtl$passes$InferTypes$$infer_types_s$1$3.apply
      1. firrtl.passes.InferTypes$.firrtl$passes$InferTypes$$infer_types_s$1(Passes.scala:200)
      2. firrtl.passes.InferTypes$$anonfun$firrtl$passes$InferTypes$$infer_types_s$1$3.apply(Passes.scala:213)
      3. firrtl.passes.InferTypes$$anonfun$firrtl$passes$InferTypes$$infer_types_s$1$3.apply(Passes.scala:213)
      3 frames
    4. Scala
      List.map
      1. scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:245)
      2. scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:245)
      3. scala.collection.immutable.List.foreach(List.scala:381)
      4. scala.collection.TraversableLike$class.map(TraversableLike.scala:245)
      5. scala.collection.immutable.List.map(List.scala:285)
      5 frames
    5. firrtl
      Mappers$StmtMap.map
      1. firrtl.Mappers$StmtMagnet$$anon$4.map(Mappers.scala:44)
      2. firrtl.Mappers$StmtMap.map(Mappers.scala:95)
      2 frames
    6. firrtl.passes
      InferTypes$$anonfun$firrtl$passes$InferTypes$$infer_types_s$1$3.apply
      1. firrtl.passes.InferTypes$.firrtl$passes$InferTypes$$infer_types_s$1(Passes.scala:213)
      2. firrtl.passes.InferTypes$$anonfun$firrtl$passes$InferTypes$$infer_types_s$1$3.apply(Passes.scala:213)
      3. firrtl.passes.InferTypes$$anonfun$firrtl$passes$InferTypes$$infer_types_s$1$3.apply(Passes.scala:213)
      3 frames
    7. Scala
      AbstractTraversable.map
      1. scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:245)
      2. scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:245)
      3. scala.collection.mutable.ResizableArray$class.foreach(ResizableArray.scala:59)
      4. scala.collection.mutable.ArrayBuffer.foreach(ArrayBuffer.scala:48)
      5. scala.collection.TraversableLike$class.map(TraversableLike.scala:245)
      6. scala.collection.AbstractTraversable.map(Traversable.scala:104)
      6 frames
    8. firrtl
      Mappers$StmtMap.map
      1. firrtl.Mappers$StmtMagnet$$anon$4.map(Mappers.scala:44)
      2. firrtl.Mappers$StmtMap.map(Mappers.scala:95)
      2 frames
    9. firrtl.passes
      InferTypes$$anonfun$firrtl$passes$InferTypes$$infer_types_s$1$3.apply
      1. firrtl.passes.InferTypes$.firrtl$passes$InferTypes$$infer_types_s$1(Passes.scala:213)
      2. firrtl.passes.InferTypes$$anonfun$firrtl$passes$InferTypes$$infer_types_s$1$3.apply(Passes.scala:213)
      2 frames