mirror of https://github.com/sbt/sbt.git
Adds more memory to internal scripted task
This commit is contained in:
parent
bdded0898d
commit
ff7ac294e7
|
|
@ -72,7 +72,7 @@ object Scripted {
|
|||
val loader = classpath.ClasspathUtilities.toLoader(scriptedSbtClasspath.files, noJLine)
|
||||
val bridgeClass = Class.forName("sbt.test.ScriptedRunner", true, loader)
|
||||
val bridge = bridgeClass.newInstance.asInstanceOf[SbtScriptedRunner]
|
||||
val launcherVmOptions = Array("-XX:MaxPermSize=256M") // increased after a failure in scripted source-dependencies/macro
|
||||
val launcherVmOptions = Array("-XX:MaxPermSize=256M", "-Xmx1G") // increased after a failure in scripted source-dependencies/macro
|
||||
try {
|
||||
// Using java.util.List to encode File => Unit.
|
||||
val callback = new java.util.AbstractList[File] {
|
||||
|
|
|
|||
Loading…
Reference in New Issue