Skip to content

Instantly share code, notes, and snippets.

@Skeebl
Created September 10, 2013 08:47
Show Gist options
  • Save Skeebl/6506693 to your computer and use it in GitHub Desktop.
Save Skeebl/6506693 to your computer and use it in GitHub Desktop.
scala/pickling Out of memory while compiling
[info] Loading global plugins from /Users/sebastien/.sbt/0.13/plugins
[info] Loading project definition from /Users/sebastien/Documents/Excilys/Gatling/git/gatling-debug/project
[info] Set current project to gatling-debug (in build file:/Users/sebastien/Documents/Excilys/Gatling/git/gatling-debug/)
[info] Compiling 1 Scala source to /Users/sebastien/Documents/Excilys/Gatling/git/gatling-debug/target/scala-2.10/classes...
[error]
[error] while compiling: /Users/sebastien/Documents/Excilys/Gatling/git/gatling-debug/src/main/scala/io/gatling/debug/parser/Parser.scala
[error] during phase: typer
[error] library version: version 2.10.2
[error] compiler version: version 2.10.2
[error] reconstructed args: -bootclasspath /Library/Java/JavaVirtualMachines/jdk1.7.0_25.jdk/Contents/Home/jre/lib/resources.jar:/Library/Java/JavaVirtualMachines/jdk1.7.0_25.jdk/Contents/Home/jre/lib/rt.jar:/Library/Java/JavaVirtualMachines/jdk1.7.0_25.jdk/Contents/Home/jre/lib/sunrsasign.jar:/Library/Java/JavaVirtualMachines/jdk1.7.0_25.jdk/Contents/Home/jre/lib/jsse.jar:/Library/Java/JavaVirtualMachines/jdk1.7.0_25.jdk/Contents/Home/jre/lib/jce.jar:/Library/Java/JavaVirtualMachines/jdk1.7.0_25.jdk/Contents/Home/jre/lib/charsets.jar:/Library/Java/JavaVirtualMachines/jdk1.7.0_25.jdk/Contents/Home/jre/lib/jfr.jar:/Library/Java/JavaVirtualMachines/jdk1.7.0_25.jdk/Contents/Home/jre/lib/JObjC.jar:/Library/Java/JavaVirtualMachines/jdk1.7.0_25.jdk/Contents/Home/jre/classes:/Users/sebastien/.sbt/boot/scala-2.10.2/lib/scala-library.jar -classpath /Users/sebastien/Documents/Excilys/Gatling/git/gatling-debug/target/scala-2.10/classes:/Users/sebastien/.ivy2/cache/org.scala-lang/scala-pickling_2.10/jars/scala-pickling_2.10-0.8.0-SNAPSHOT.jar:/Users/sebastien/.sbt/boot/scala-2.10.2/lib/scala-reflect.jar:/Users/sebastien/.ivy2/cache/org.slf4j/slf4j-api/jars/slf4j-api-1.7.5.jar:/Users/sebastien/.ivy2/cache/ch.qos.logback/logback-classic/jars/logback-classic-1.0.13.jar:/Users/sebastien/.ivy2/cache/ch.qos.logback/logback-core/jars/logback-core-1.0.13.jar -feature
[error]
[error] last tree to typer: This(anonymous class $anon)
[error] symbol: anonymous class $anon (flags: )
[error] symbol definition: class $anon extends FastTypeTag[String]
[error] tpe: scala.pickling.FastTypeTag[String]{}
[error] symbol owners: anonymous class $anon -> method unpickle -> object ScalaTuple2[javaLangString,javaLangString]Unpickler232 -> value elunpickler -> object ScalaCollectionImmutableMap[javaLangString,javaLangString]PicklerUnpickler78 -> value customPickler -> value pickler -> value $anonfun -> method pickle -> object IoGatlingDebugModelHeaderModelPickler39 -> value customPickler -> value pickler -> value $anonfun -> method pickle -> object IoGatlingDebugModelResponseModelPickler13 -> value customPickler -> value pickler -> value $anonfun -> method pickle -> object ScalaSome[ioGatlingDebugModelResponseModel]Pickler7 -> value pickler -> value $anonfun -> method pickle -> object IoGatlingDebugModelRequestModelPickler7 -> value pickler -> value $anonfun -> method pickle -> object ScalaCollectionSeq[ioGatlingDebugModelExec]PicklerUnpickler4 -> value customUnpickler -> value unpickler -> method unpickle -> object ScalaTuple2[ioGatlingDebugModelUserModel,scalaCollectionSeq[ioGatlingDebugModelExec]]Unpickler1 -> value elunpickler -> object ScalaCollectionImmutableMap[ioGatlingDebugModelUserModel,scalaCollectionSeq[ioGatlingDebugModelExec]]PicklerUnpickler1 -> value customPickler -> value pickler -> value $anonfun -> method pickle -> object IoGatlingDebugModelScenarioModelPickler1 -> value elpickler -> object ScalaCollectionImmutableSet[ioGatlingDebugModelScenarioModel]PicklerUnpickler1 -> value customPickler -> value pickler -> value $anonfun -> method pickle -> object IoGatlingDebugModelSimulationModelPickler1 -> value customPickler -> value pickler -> lazy value jsonExport -> class Parser -> package parser
[error] context owners: constructor $anon -> anonymous class $anon -> method unpickle -> object ScalaTuple2[javaLangString,javaLangString]Unpickler232 -> value elunpickler -> object ScalaCollectionImmutableMap[javaLangString,javaLangString]PicklerUnpickler78 -> value customPickler -> value pickler -> value $anonfun -> method pickle -> object IoGatlingDebugModelHeaderModelPickler39 -> value customPickler -> value pickler -> value $anonfun -> method pickle -> object IoGatlingDebugModelResponseModelPickler13 -> value customPickler -> value pickler -> value $anonfun -> method pickle -> object ScalaSome[ioGatlingDebugModelResponseModel]Pickler7 -> value pickler -> value $anonfun -> method pickle -> object IoGatlingDebugModelRequestModelPickler7 -> value pickler -> value $anonfun -> method pickle -> object ScalaCollectionSeq[ioGatlingDebugModelExec]PicklerUnpickler4 -> value customUnpickler -> value unpickler -> method unpickle -> object ScalaTuple2[ioGatlingDebugModelUserModel,scalaCollectionSeq[ioGatlingDebugModelExec]]Unpickler1 -> value elunpickler -> object ScalaCollectionImmutableMap[ioGatlingDebugModelUserModel,scalaCollectionSeq[ioGatlingDebugModelExec]]PicklerUnpickler1 -> value customPickler -> value pickler -> value $anonfun -> method pickle -> object IoGatlingDebugModelScenarioModelPickler1 -> value elpickler -> object ScalaCollectionImmutableSet[ioGatlingDebugModelScenarioModel]PicklerUnpickler1 -> value customPickler -> value pickler -> value $anonfun -> method pickle -> object IoGatlingDebugModelSimulationModelPickler1 -> value customPickler -> value pickler -> lazy value jsonExport -> class Parser -> package parser
[error]
[error] == Enclosing template or block ==
[error]
[error] Apply(
[error] $anon.super."<init>"
[error] Nil
[error] )
[error]
[error] == Expanded type of tree ==
[error]
[error] TypeRef(TypeSymbol(class $anon extends FastTypeTag[String]))
[error]
[error] uncaught exception during compilation: java.lang.OutOfMemoryError
[error] java.util.concurrent.ExecutionException: java.lang.OutOfMemoryError: Java heap space
[error] Use 'last' for the full log.
[info] Loading global plugins from /Users/sebastien/.sbt/0.13/plugins
[info] Loading project definition from /Users/sebastien/Documents/Excilys/Gatling/git/gatling-debug/project
[info] Set current project to gatling-debug (in build file:/Users/sebastien/Documents/Excilys/Gatling/git/gatling-debug/)
[info] Loading global plugins from /Users/sebastien/.sbt/0.13/plugins
[debug] Running task... Cancelable: false, check cycles: false
[debug]
[debug] Initial source changes:
[debug] removed:Set()
[debug] added: Set()
[debug] modified: Set()
[debug] Removed products: Set()
[debug] Modified external sources: Set()
[debug] Modified binary dependencies: Set()
[debug] Initial directly invalidated sources: Set()
[debug]
[debug] Sources indirectly invalidated by:
[debug] product: Set()
[debug] binary dep: Set()
[debug] external source: Set()
[debug] All initially invalidated sources: Set()
[debug] Copy resource mappings:
[debug]
[debug] Other repositories:
[debug] FileRepository(publish-m2-local,FileConfiguration(true,None),Patterns(ivyPatterns=List(), artifactPatterns=List(/Users/sebastien/.m2/repository/[organisation]/[module](_[scalaVersion])(_[sbtVersion])/[revision]/[artifact]-[revision](-[classifier]).[ext]), isMavenCompatible=true))
[debug] Default repositories:
[debug] Raw(ProjectResolver(inter-project, mapped: ))
[debug] URLRepository(typesafe-ivy-releases,Patterns(ivyPatterns=List(http://repo.typesafe.com/typesafe/ivy-releases/[organisation]/[module]/(scala_[scalaVersion]/)(sbt_[sbtVersion]/)[revision]/[type]s/[artifact](-[classifier]).[ext]), artifactPatterns=List(http://repo.typesafe.com/typesafe/ivy-releases/[organisation]/[module]/(scala_[scalaVersion]/)(sbt_[sbtVersion]/)[revision]/[type]s/[artifact](-[classifier]).[ext]), isMavenCompatible=false))
[debug] URLRepository(sbt-plugin-releases,Patterns(ivyPatterns=List(http://repo.scala-sbt.org/scalasbt/sbt-plugin-releases/[organisation]/[module]/(scala_[scalaVersion]/)(sbt_[sbtVersion]/)[revision]/[type]s/[artifact](-[classifier]).[ext]), artifactPatterns=List(http://repo.scala-sbt.org/scalasbt/sbt-plugin-releases/[organisation]/[module]/(scala_[scalaVersion]/)(sbt_[sbtVersion]/)[revision]/[type]s/[artifact](-[classifier]).[ext]), isMavenCompatible=false))
[debug] FileRepository(local,FileConfiguration(true,None),Patterns(ivyPatterns=List(${ivy.home}/local/[organisation]/[module]/(scala_[scalaVersion]/)(sbt_[sbtVersion]/)[revision]/[type]s/[artifact](-[classifier]).[ext]), artifactPatterns=List(${ivy.home}/local/[organisation]/[module]/(scala_[scalaVersion]/)(sbt_[sbtVersion]/)[revision]/[type]s/[artifact](-[classifier]).[ext]), isMavenCompatible=false))
[debug] public: http://repo1.maven.org/maven2/
[debug] Using inline dependencies specified in Scala.
[info] Loading project definition from /Users/sebastien/Documents/Excilys/Gatling/git/gatling-debug/project
[debug] Running task... Cancelable: false, check cycles: false
[debug]
[debug] Initial source changes:
[debug] removed:Set()
[debug] added: Set()
[debug] modified: Set()
[debug] Removed products: Set()
[debug] Modified external sources: Set()
[debug] Modified binary dependencies: Set()
[debug] Initial directly invalidated sources: Set()
[debug]
[debug] Sources indirectly invalidated by:
[debug] product: Set()
[debug] binary dep: Set()
[debug] external source: Set()
[debug] All initially invalidated sources: Set()
[debug] Copy resource mappings:
[debug]
[info] Set current project to gatling-debug (in build file:/Users/sebastien/Documents/Excilys/Gatling/git/gatling-debug/)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment