Quantcast

[JIRA] Created: (JENKINS-8812) OutOfMemoryError when using sbt Plugin

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[JIRA] Created: (JENKINS-8812) OutOfMemoryError when using sbt Plugin

JIRA noreply@jenkins-ci.org
OutOfMemoryError when using sbt Plugin
--------------------------------------

                 Key: JENKINS-8812
                 URL: http://issues.jenkins-ci.org/browse/JENKINS-8812
             Project: Jenkins
          Issue Type: Bug
          Components: sbt
    Affects Versions: current
         Environment: Ubuntu 9.4
Jenkins ver. 1.397
SBT 0.7.4 + SBT 0.7.5.RC0
Scala 2.8.1
Lift 2.2
            Reporter: Jan Blankenhorn
            Assignee: uzilan


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

--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira


Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[JIRA] Commented: (JENKINS-8812) OutOfMemoryError when using sbt Plugin

JIRA noreply@jenkins-ci.org

    [ http://issues.jenkins-ci.org/browse/JENKINS-8812?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=145956#comment-145956 ]

uzilan commented on JENKINS-8812:
---------------------------------

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

> OutOfMemoryError when using sbt Plugin
> --------------------------------------
>
>                 Key: JENKINS-8812
>                 URL: http://issues.jenkins-ci.org/browse/JENKINS-8812
>             Project: Jenkins
>          Issue Type: Bug
>          Components: sbt
>    Affects Versions: current
>         Environment: Ubuntu 9.4
> Jenkins ver. 1.397
> SBT 0.7.4 + SBT 0.7.5.RC0
> Scala 2.8.1
> Lift 2.2
>            Reporter: Jan Blankenhorn
>            Assignee: uzilan
>
> 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

--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira


Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[JIRA] Commented: (JENKINS-8812) OutOfMemoryError when using sbt Plugin

JIRA noreply@jenkins-ci.org
In reply to this post by JIRA noreply@jenkins-ci.org

    [ http://issues.jenkins-ci.org/browse/JENKINS-8812?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=145977#comment-145977 ]

Jan Blankenhorn commented on JENKINS-8812:
------------------------------------------

Hi,


it is a customer project, so i cannot attach the code, basically it is a very small Lift Project (Lift Version 2.2).
I used Version 1.2 of SBT Plugin.

Here is the Log.

Gestartet durch Benutzer anonymous
Checkout:workspace / /var/lib/tomcat5.5/hudson/jobs/LoadPlan/workspace - hudson.remoting.LocalChannel@78fd5428
Using strategy: Default
Last Built Revision: Revision ee01d58a41f1c3b13c1dd83d9db666e6c38c3bad (origin/master)
Checkout:workspace / /var/lib/tomcat5.5/hudson/jobs/LoadPlan/workspace - hudson.remoting.LocalChannel@78fd5428
Fetching changes from the remote Git repository
Fetching upstream changes from [hidden email]....
Commencing build of Revision ee01d58a41f1c3b13c1dd83d9db666e6c38c3bad (origin/master)
Checking out Revision ee01d58a41f1c3b13c1dd83d9db666e6c38c3bad (origin/master)
[workspace] $ java -Dsbt.log.noformat=true -jar /home/hudson/bin/sbt-launch-0.7.5.RC0.jar clean-plugins clean update compile test doc package publish-local
[info] Building project loadplan 0.3-SNAPSHOT against Scala 2.8.0
[info]    using LoadPlanProject with sbt 0.7.5.RC0 and Scala 2.7.7
[info]
[info] == clean-plugins ==
[info] == clean-plugins ==
[success] Successful.
[info]
[info] Total time: 0 s, completed 17.02.2011 14:31:03
[info]
[info] == jetty-stop ==
[info] == jetty-stop ==
[info]
[info] == clean ==
[info] Deleting directory /var/lib/tomcat5.5/hudson/jobs/LoadPlan/workspace/target/scala_2.8.0
[info] == clean ==
[success] Successful.
[info]
[info] Total time: 0 s, completed 17.02.2011 14:31:03
[info]
[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



> OutOfMemoryError when using sbt Plugin
> --------------------------------------
>
>                 Key: JENKINS-8812
>                 URL: http://issues.jenkins-ci.org/browse/JENKINS-8812
>             Project: Jenkins
>          Issue Type: Bug
>          Components: sbt
>    Affects Versions: current
>         Environment: Ubuntu 9.4
> Jenkins ver. 1.397
> SBT 0.7.4 + SBT 0.7.5.RC0
> Scala 2.8.1
> Lift 2.2
>            Reporter: Jan Blankenhorn
>            Assignee: uzilan
>
> 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

--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira


Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[JIRA] Commented: (JENKINS-8812) OutOfMemoryError when using sbt Plugin

JIRA noreply@jenkins-ci.org
In reply to this post by JIRA noreply@jenkins-ci.org

    [ http://issues.jenkins-ci.org/browse/JENKINS-8812?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=145998#comment-145998 ]

uzilan commented on JENKINS-8812:
---------------------------------

Hi,

Usually, when setting up sbt (look at http://code.google.com/p/simple-build-tool/wiki/Setup) you're configuring sbt to run with some jvm arguments like -Xmx512M, so that when your run sbt in your command prompt they are implicit.

Since I cannot see any jvm arguments in you log file, I wonder if you could check your sbt setup to see which jvm arguments are used and specify them in your Jenkins project as well. Maybe the problem is simply that you need to specify a bigger -Xmx?

It would also be interesting if you could simply run:
%java -Dsbt.log.noformat=true -jar /home/hudson/bin/sbt-launch-0.7.5.RC0.jar clean-plugins clean update compile test doc package publish-local
 as opposed to running
%sbt clean-plugins clean update compile test doc package publish-local
from your command prompt and see if you get the same problem.


> OutOfMemoryError when using sbt Plugin
> --------------------------------------
>
>                 Key: JENKINS-8812
>                 URL: http://issues.jenkins-ci.org/browse/JENKINS-8812
>             Project: Jenkins
>          Issue Type: Bug
>          Components: sbt
>    Affects Versions: current
>         Environment: Ubuntu 9.4
> Jenkins ver. 1.397
> SBT 0.7.4 + SBT 0.7.5.RC0
> Scala 2.8.1
> Lift 2.2
>            Reporter: Jan Blankenhorn
>            Assignee: uzilan
>
> 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

--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira


Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[JIRA] Commented: (JENKINS-8812) OutOfMemoryError when using sbt Plugin

JIRA noreply@jenkins-ci.org
In reply to this post by JIRA noreply@jenkins-ci.org

    [ http://issues.jenkins-ci.org/browse/JENKINS-8812?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=146044#comment-146044 ]

Jan Blankenhorn commented on JENKINS-8812:
------------------------------------------

Hi,


it was fixed after adding -Xmx512M as JVM Flag.

Maybe it would be good to add this to the documentation.

Thanks for the help

> OutOfMemoryError when using sbt Plugin
> --------------------------------------
>
>                 Key: JENKINS-8812
>                 URL: http://issues.jenkins-ci.org/browse/JENKINS-8812
>             Project: Jenkins
>          Issue Type: Bug
>          Components: sbt
>    Affects Versions: current
>         Environment: Ubuntu 9.4
> Jenkins ver. 1.397
> SBT 0.7.4 + SBT 0.7.5.RC0
> Scala 2.8.1
> Lift 2.2
>            Reporter: Jan Blankenhorn
>            Assignee: uzilan
>
> 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

--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira


Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[JIRA] Resolved: (JENKINS-8812) OutOfMemoryError when using sbt Plugin

JIRA noreply@jenkins-ci.org
In reply to this post by JIRA noreply@jenkins-ci.org

     [ http://issues.jenkins-ci.org/browse/JENKINS-8812?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jan Blankenhorn resolved JENKINS-8812.
--------------------------------------

    Resolution: Fixed

> OutOfMemoryError when using sbt Plugin
> --------------------------------------
>
>                 Key: JENKINS-8812
>                 URL: http://issues.jenkins-ci.org/browse/JENKINS-8812
>             Project: Jenkins
>          Issue Type: Bug
>          Components: sbt
>    Affects Versions: current
>         Environment: Ubuntu 9.4
> Jenkins ver. 1.397
> SBT 0.7.4 + SBT 0.7.5.RC0
> Scala 2.8.1
> Lift 2.2
>            Reporter: Jan Blankenhorn
>            Assignee: uzilan
>
> 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

--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira


Loading...