java.io.IOException: Cannot run program "cvs" (in directory "/home/hudson/hudson-data/jobs/..."): java.io.IOException: error=12, Cannot allocate memory

Jenkins JIRA | MartinLe | 6 years ago
  1. 0

    We run a cron triggered CVS-Request for 80 of our projects. All request configured to run every 6 hours. On most of this projects hudson exit with a failure. [workspace] $ cvs -q -z3 update -PdC -r branch-1_5 -D "Sunday, September 5, 2010 7:03:39 PM UTC" java.io.IOException: Cannot run program "cvs" (in directory "/home/hudson/hudson-data/jobs/..."): java.io.IOException: error=12, Cannot allocate memory at java.lang.ProcessBuilder.start(ProcessBuilder.java:460) at hudson.Proc$LocalProc.<init>(Proc.java:192) at hudson.Proc$LocalProc.<init>(Proc.java:164) at hudson.Launcher$LocalLauncher.launch(Launcher.java:638) at hudson.Launcher$ProcStarter.start(Launcher.java:273) at hudson.Launcher$ProcStarter.join(Launcher.java:280) at hudson.scm.CVSSCM.run(CVSSCM.java:981) at hudson.scm.CVSSCM.update(CVSSCM.java:544) at hudson.scm.CVSSCM.checkout(CVSSCM.java:362) at hudson.model.AbstractProject.checkout(AbstractProject.java:1038) at hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:479) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:411) at hudson.model.Run.run(Run.java:1258) at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:318) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:129) Caused by: java.io.IOException: java.io.IOException: error=12, Cannot allocate memory at java.lang.UNIXProcess.<init>(UNIXProcess.java:148) at java.lang.ProcessImpl.start(ProcessImpl.java:65) at java.lang.ProcessBuilder.start(ProcessBuilder.java:453) ... 15 more Is it possible to limit the number of simultaneous execution for an external programm?

    Jenkins JIRA | 6 years ago | MartinLe
    java.io.IOException: Cannot run program "cvs" (in directory "/home/hudson/hudson-data/jobs/..."): java.io.IOException: error=12, Cannot allocate memory
  2. 0

    We run a cron triggered CVS-Request for 80 of our projects. All request configured to run every 6 hours. On most of this projects hudson exit with a failure. [workspace] $ cvs -q -z3 update -PdC -r branch-1_5 -D "Sunday, September 5, 2010 7:03:39 PM UTC" java.io.IOException: Cannot run program "cvs" (in directory "/home/hudson/hudson-data/jobs/..."): java.io.IOException: error=12, Cannot allocate memory at java.lang.ProcessBuilder.start(ProcessBuilder.java:460) at hudson.Proc$LocalProc.<init>(Proc.java:192) at hudson.Proc$LocalProc.<init>(Proc.java:164) at hudson.Launcher$LocalLauncher.launch(Launcher.java:638) at hudson.Launcher$ProcStarter.start(Launcher.java:273) at hudson.Launcher$ProcStarter.join(Launcher.java:280) at hudson.scm.CVSSCM.run(CVSSCM.java:981) at hudson.scm.CVSSCM.update(CVSSCM.java:544) at hudson.scm.CVSSCM.checkout(CVSSCM.java:362) at hudson.model.AbstractProject.checkout(AbstractProject.java:1038) at hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:479) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:411) at hudson.model.Run.run(Run.java:1258) at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:318) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:129) Caused by: java.io.IOException: java.io.IOException: error=12, Cannot allocate memory at java.lang.UNIXProcess.<init>(UNIXProcess.java:148) at java.lang.ProcessImpl.start(ProcessImpl.java:65) at java.lang.ProcessBuilder.start(ProcessBuilder.java:453) ... 15 more Is it possible to limit the number of simultaneous execution for an external programm?

    Jenkins JIRA | 6 years ago | MartinLe
    java.io.IOException: Cannot run program "cvs" (in directory "/home/hudson/hudson-data/jobs/..."): java.io.IOException: error=12, Cannot allocate memory
  3. 0

    [JENKINS-1921] Too many open files - Jenkins JIRA

    jenkins-ci.org | 7 months ago
    java.io.IOException: error=24, Too many open files
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Hudson failing again and Lift build failure

    Google Groups | 7 years ago | Timothy Perrett
    java.io.IOException: Cannot run program "rm" (in directory "/home/ scalatools/hudson/.hudson/jobs/Lift/builds"): java.io.IOException: error=24, Too many open files
  6. 0

    Hadoop on physical machine Vs Cloud

    Google Groups | 6 years ago | pravee...@nokia.com
    java.io.IOException: Spill failed

  1. eti22 1 times, last 1 month ago
  2. asdasd 24 times, last 3 months ago
  3. rexgreenza 8 times, last 3 months ago
  4. Benj-AD 1 times, last 4 months ago
  5. Akshay 4 times, last 6 months ago
95 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.io.IOException

    java.io.IOException: error=12, Cannot allocate memory

    at java.lang.UNIXProcess.<init>()
  2. Java RT
    ProcessBuilder.start
    1. java.lang.UNIXProcess.<init>(UNIXProcess.java:148)
    2. java.lang.ProcessImpl.start(ProcessImpl.java:65)
    3. java.lang.ProcessBuilder.start(ProcessBuilder.java:453)
    3 frames
  3. Hudson
    Run.run
    1. hudson.Proc$LocalProc.<init>(Proc.java:192)
    2. hudson.Proc$LocalProc.<init>(Proc.java:164)
    3. hudson.Launcher$LocalLauncher.launch(Launcher.java:638)
    4. hudson.Launcher$ProcStarter.start(Launcher.java:273)
    5. hudson.Launcher$ProcStarter.join(Launcher.java:280)
    6. hudson.scm.CVSSCM.run(CVSSCM.java:981)
    7. hudson.scm.CVSSCM.update(CVSSCM.java:544)
    8. hudson.scm.CVSSCM.checkout(CVSSCM.java:362)
    9. hudson.model.AbstractProject.checkout(AbstractProject.java:1038)
    10. hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:479)
    11. hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:411)
    12. hudson.model.Run.run(Run.java:1258)
    12 frames
  4. Hudson Maven Embedder
    MavenModuleSetBuild.run
    1. hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:318)
    1 frame
  5. Hudson
    Executor.run
    1. hudson.model.ResourceController.execute(ResourceController.java:88)
    2. hudson.model.Executor.run(Executor.java:129)
    2 frames