mirror of
https://github.com/sbt/sbt.git
synced 2026-08-22 06:07:24 +02:00
Adds more memory to internal scripted task
This commit is contained in:
@@ -72,7 +72,7 @@ object Scripted {
|
|||||||
val loader = classpath.ClasspathUtilities.toLoader(scriptedSbtClasspath.files, noJLine)
|
val loader = classpath.ClasspathUtilities.toLoader(scriptedSbtClasspath.files, noJLine)
|
||||||
val bridgeClass = Class.forName("sbt.test.ScriptedRunner", true, loader)
|
val bridgeClass = Class.forName("sbt.test.ScriptedRunner", true, loader)
|
||||||
val bridge = bridgeClass.newInstance.asInstanceOf[SbtScriptedRunner]
|
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 {
|
try {
|
||||||
// Using java.util.List to encode File => Unit.
|
// Using java.util.List to encode File => Unit.
|
||||||
val callback = new java.util.AbstractList[File] {
|
val callback = new java.util.AbstractList[File] {
|
||||||
|
|||||||
Reference in New Issue
Block a user