-
Bug
-
Resolution: Fixed
-
Major
-
None
-
Ubuntu 9.4
Jenkins ver. 1.397
SBT 0.7.4 + SBT 0.7.5.RC0
Scala 2.8.1
Lift 2.2
When using the sbt Plugin i get the following OutOfMemoryError.
If i buil with sbt via Shell Scripts, everything is fine.
[info] == update == [info] :: retrieving :: com.sas#loadplan_2.8.0 [sync] [info] confs: [compile, runtime, test, provided, system, optional, sources, javadoc] [info] 0 artifacts copied, 41 already retrieved (0kB/84ms) [info] == update == [success] Successful. [info] [info] Total time: 4 s, completed 17.02.2011 14:31:07 [info] [info] == compile == [info] Source analysis: 31 new/modified, 0 indirectly invalidated, 0 removed. [info] Compiling main sources...
[info] == compile ==
java.lang.OutOfMemoryError: Java heap space at scala.collection.mutable.ListBuffer.$plus$eq(ListBuffer.scala:115) at scala.collection.mutable.ListBuffer.$plus$eq(ListBuffer.scala:42) at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:206) at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:206) at scala.collection.LinearSeqOptimized$class.foreach(LinearSeqOptimized.scala:61) at scala.collection.immutable.List.foreach(List.scala:45) at scala.collection.TraversableLike$class.map(TraversableLike.scala:206) at scala.collection.immutable.List.map(List.scala:45) at scala.tools.nsc.symtab.Types$MethodType.paramTypes(Types.scala:1904) at scala.tools.nsc.backend.icode.GenICode$ICodePhase.scala$tools$nsc$backend$icode$GenICode$ICodePhase$$genLoad(GenICode.scala:742) at scala.tools.nsc.backend.icode.GenICode$ICodePhase.gen(GenICode.scala:126) at scala.tools.nsc.backend.icode.GenICode$ICodePhase$$anonfun$gen$1.apply(GenICode.scala:81) at scala.tools.nsc.backend.icode.GenICode$ICodePhase$$anonfun$gen$1.apply(GenICode.scala:81) at scala.collection.LinearSeqOptimized$class.foreach(LinearSeqOptimized.scala:61) at scala.collection.immutable.List.foreach(List.scala:45) at scala.tools.nsc.backend.icode.GenICode$ICodePhase.gen(GenICode.scala:81) at scala.tools.nsc.backend.icode.GenICode$ICodePhase.gen(GenICode.scala:148) at scala.tools.nsc.backend.icode.GenICode$ICodePhase.gen(GenICode.scala:100) at scala.tools.nsc.backend.icode.GenICode$ICodePhase$$anonfun$gen$1.apply(GenICode.scala:81)
at scala.tools.nsc.backend.icode.GenICode$ICodePhase$$anonfun$gen$1.apply(GenICode.scala:81) at scala.collection.LinearSeqOptimized$class.foreach(LinearSeqOptimized.scala:61) at scala.collection.immutable.List.foreach(List.scala:45) at scala.tools.nsc.backend.icode.GenICode$ICodePhase.gen(GenICode.scala:81) at scala.tools.nsc.backend.icode.GenICode$ICodePhase.gen(GenICode.scala:91) at scala.tools.nsc.backend.icode.GenICode$ICodePhase$$anonfun$gen$1.apply(GenICode.scala:81) at scala.tools.nsc.backend.icode.GenICode$ICodePhase$$anonfun$gen$1.apply(GenICode.scala:81) at scala.collection.LinearSeqOptimized$class.foreach(LinearSeqOptimized.scala:61) at scala.collection.immutable.List.foreach(List.scala:45) at scala.tools.nsc.backend.icode.GenICode$ICodePhase.gen(GenICode.scala:81) at scala.tools.nsc.backend.icode.GenICode$ICodePhase.gen(GenICode.scala:91) at scala.tools.nsc.backend.icode.GenICode$ICodePhase$$anonfun$gen$1.apply(GenICode.scala:81) at scala.tools.nsc.backend.icode.GenICode$ICodePhase$$anonfun$gen$1.apply(GenICode.scala:81) Error during sbt execution: java.lang.OutOfMemoryError: Java heap space
Could you please attach the whole log so that I could see exactly which parameters you used and try to recreate the error? If not, could you please let me know which projects you were building (if it is publicly available) and the jvm and sbt argument and actions you defined in your project. Also, which version of this plugin did you use?
Thanks,
Uzi