java.util.concurrent.ExecutionException

java.lang.OutOfMemoryError: Java heap space

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web2

  • Stack trace

    • java.util.concurrent.ExecutionException: java.lang.OutOfMemoryError: Java heap space at java.util.concurrent.FutureTask.report(FutureTask.java:122) at java.util.concurrent.FutureTask.get(FutureTask.java:188) at sbt.ConcurrentRestrictions$$anon$4.take(ConcurrentRestrictions.scala:188) at sbt.Execute.next$1(Execute.scala:83) at sbt.Execute.processAll(Execute.scala:86) at sbt.Execute.runKeep(Execute.scala:66) at sbt.EvaluateTask$.liftedTree1$1(EvaluateTask.scala:342) at sbt.EvaluateTask$.run$1(EvaluateTask.scala:341) at sbt.EvaluateTask$.runTask(EvaluateTask.scala:361) at sbt.Aggregation$$anonfun$3.apply(Aggregation.scala:64) at sbt.Aggregation$$anonfun$3.apply(Aggregation.scala:62) at sbt.EvaluateTask$.withStreams(EvaluateTask.scala:293) at sbt.Aggregation$.timedRun(Aggregation.scala:62) at sbt.Aggregation$.runTasks(Aggregation.scala:71) at sbt.Aggregation$$anonfun$applyTasks$1.apply(Aggregation.scala:32) at sbt.Aggregation$$anonfun$applyTasks$1.apply(Aggregation.scala:31) at sbt.Command$$anonfun$applyEffect$2$$anonfun$apply$3.apply(Command.scala:60) at sbt.Command$$anonfun$applyEffect$2$$anonfun$apply$3.apply(Command.scala:60) at sbt.Aggregation$$anonfun$evaluatingParser$4$$anonfun$apply$5.apply(Aggregation.scala:153) at sbt.Aggregation$$anonfun$evaluatingParser$4$$anonfun$apply$5.apply(Aggregation.scala:152) at sbt.Act$$anonfun$sbt$Act$$actParser0$1$$anonfun$sbt$Act$$anonfun$$evaluate$1$1$$anonfun$apply$10.apply(Act.scala:244) at sbt.Act$$anonfun$sbt$Act$$actParser0$1$$anonfun$sbt$Act$$anonfun$$evaluate$1$1$$anonfun$apply$10.apply(Act.scala:241) at sbt.Command$.process(Command.scala:92) at sbt.MainLoop$$anonfun$1$$anonfun$apply$1.apply(MainLoop.scala:98) at sbt.MainLoop$$anonfun$1$$anonfun$apply$1.apply(MainLoop.scala:98) at sbt.State$$anon$1.process(State.scala:184) at sbt.MainLoop$$anonfun$1.apply(MainLoop.scala:98) at sbt.MainLoop$$anonfun$1.apply(MainLoop.scala:98) at sbt.ErrorHandling$.wideConvert(ErrorHandling.scala:17) at sbt.MainLoop$.next(MainLoop.scala:98) at sbt.MainLoop$.run(MainLoop.scala:91) at sbt.MainLoop$$anonfun$runWithNewLog$1.apply(MainLoop.scala:70) at sbt.MainLoop$$anonfun$runWithNewLog$1.apply(MainLoop.scala:65) at sbt.Using.apply(Using.scala:24) at sbt.MainLoop$.runWithNewLog(MainLoop.scala:65) at sbt.MainLoop$.runAndClearLast(MainLoop.scala:48) at sbt.MainLoop$.runLoggedLoop(MainLoop.scala:32) at sbt.MainLoop$.runLogged(MainLoop.scala:24) at sbt.StandardMain$.runManaged(Main.scala:53) at sbt.xMain.run(Main.scala:28) at xsbt.boot.Launch$$anonfun$run$1.apply(Launch.scala:109) at xsbt.boot.Launch$.withContextLoader(Launch.scala:128) at xsbt.boot.Launch$.run(Launch.scala:109) at xsbt.boot.Launch$$anonfun$apply$1.apply(Launch.scala:35) at xsbt.boot.Launch$.launch(Launch.scala:117) at xsbt.boot.Launch$.apply(Launch.scala:18) at xsbt.boot.Boot$.runImpl(Boot.scala:41) at xsbt.boot.Boot$.main(Boot.scala:17) at xsbt.boot.Boot.main(Boot.scala) Caused by: java.lang.OutOfMemoryError: Java heap space at scala.tools.nsc.typechecker.Namers$class.newNamer(Namers.scala:51) at scala.tools.nsc.transform.Erasure.newNamer(Erasure.scala:14) at scala.tools.nsc.typechecker.Typers$Typer.namer(Typers.scala:218) at scala.tools.nsc.typechecker.Typers$Typer.typedBlock(Typers.scala:2374) at scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:5570) at scala.tools.nsc.transform.Erasure$Eraser.typed1(Erasure.scala:835) at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:5642) at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:5704) at scala.tools.nsc.typechecker.Typers$Typer.typePrimaryConstrBody(Typers.scala:1418) at scala.tools.nsc.typechecker.Typers$Typer.parentTypes(Typers.scala:1577) at scala.tools.nsc.typechecker.Typers$Typer.typedClassDef(Typers.scala:1759) at scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:5583) at scala.tools.nsc.transform.Erasure$Eraser.typed1(Erasure.scala:835) at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:5642) at scala.tools.nsc.typechecker.Typers$Typer.scala$tools$nsc$typechecker$Typers$Typer$$typedStat$1(Typers.scala:2928) at scala.tools.nsc.typechecker.Typers$Typer$$anonfun$61.apply(Typers.scala:3032) at scala.tools.nsc.typechecker.Typers$Typer$$anonfun$61.apply(Typers.scala:3032) at scala.collection.immutable.List.loop$1(List.scala:170) at scala.collection.immutable.List.mapConserve(List.scala:186) at scala.tools.nsc.typechecker.Typers$Typer.typedStats(Typers.scala:3032) at scala.tools.nsc.typechecker.Typers$Typer.typedBlock(Typers.scala:2432) at scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:5570) at scala.tools.nsc.transform.Erasure$Eraser.typed1(Erasure.scala:835) at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:5642) at scala.tools.nsc.typechecker.Typers$Typer.typedArg(Typers.scala:3042) at scala.tools.nsc.typechecker.Typers$Typer.loop$1(Typers.scala:3069) at scala.tools.nsc.typechecker.Typers$Typer.typedArgs(Typers.scala:3074) at scala.tools.nsc.typechecker.Typers$Typer.scala$tools$nsc$typechecker$Typers$Typer$$handleMonomorphicCall$1(Typers.scala:3354) at scala.tools.nsc.typechecker.Typers$Typer.doTypedApply(Typers.scala:3398) at scala.tools.nsc.typechecker.Typers$Typer.normalTypedApply$1(Typers.scala:4627) at scala.tools.nsc.typechecker.Typers$Typer.typedApply$1(Typers.scala:4659) at scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:5564)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    We couldn't find other users who have seen this exception.