java.io.IOException: Cannot run program "/x/compressionhandling.sh": java.io.IOException: error=12, Cannot allocate memory

Pentaho BI Platform Tracking | Ralf Hense | 5 years ago
  1. 0

    In the job-log is a well-defined ERROR, but the result of the Job-Entry is "true", but have to be "false". Therfore i'm not able to handle this Error. INFO 09-11 21:53:11,320 - Shell: compress - Running on platform : Linux INFO 09-11 21:53:11,321 - Shell: compress - Executing command : .... ERROR 09-11 21:53:11,332 - Shell: compress - Error running shell [/x/compressionhandling.sh] : java.io.IOException: Cannot run program "/x/compressionhandling.sh": java.io.IOException: error=12, Cannot allocate memory ERROR 09-11 21:53:11,338 - Shell: compress - java.io.IOException: Cannot run program "/x/compressionhandling.sh": java.io.IOException: error=12, Cannot allocate memory at java.lang.ProcessBuilder.start(ProcessBuilder.java:459) at org.pentaho.di.job.entries.shell.JobEntryShell.executeShell(JobEntryShell.java:631) at org.pentaho.di.job.entries.shell.JobEntryShell.execute(JobEntryShell.java:447) at org.pentaho.di.job.Job.execute(Job.java:503) at org.pentaho.di.job.Job.execute(Job.java:642) at org.pentaho.di.job.Job.execute(Job.java:642) at org.pentaho.di.job.Job.execute(Job.java:642) at org.pentaho.di.job.Job.execute(Job.java:642) at org.pentaho.di.job.Job.execute(Job.java:420) at org.pentaho.di.job.entries.job.JobEntryJobRunner.run(JobEntryJobRunner.java:63) at java.lang.Thread.run(Thread.java:619) 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:452) ... 10 more INFO 09-11 21:54:00,006 - x - Finished job entry [Shell: uncompress] (result=[true])

    Pentaho BI Platform Tracking | 5 years ago | Ralf Hense
    java.io.IOException: Cannot run program "/x/compressionhandling.sh": java.io.IOException: error=12, Cannot allocate memory
  2. 0

    In the job-log is a well-defined ERROR, but the result of the Job-Entry is "true", but have to be "false". Therfore i'm not able to handle this Error. INFO 09-11 21:53:11,320 - Shell: compress - Running on platform : Linux INFO 09-11 21:53:11,321 - Shell: compress - Executing command : .... ERROR 09-11 21:53:11,332 - Shell: compress - Error running shell [/x/compressionhandling.sh] : java.io.IOException: Cannot run program "/x/compressionhandling.sh": java.io.IOException: error=12, Cannot allocate memory ERROR 09-11 21:53:11,338 - Shell: compress - java.io.IOException: Cannot run program "/x/compressionhandling.sh": java.io.IOException: error=12, Cannot allocate memory at java.lang.ProcessBuilder.start(ProcessBuilder.java:459) at org.pentaho.di.job.entries.shell.JobEntryShell.executeShell(JobEntryShell.java:631) at org.pentaho.di.job.entries.shell.JobEntryShell.execute(JobEntryShell.java:447) at org.pentaho.di.job.Job.execute(Job.java:503) at org.pentaho.di.job.Job.execute(Job.java:642) at org.pentaho.di.job.Job.execute(Job.java:642) at org.pentaho.di.job.Job.execute(Job.java:642) at org.pentaho.di.job.Job.execute(Job.java:642) at org.pentaho.di.job.Job.execute(Job.java:420) at org.pentaho.di.job.entries.job.JobEntryJobRunner.run(JobEntryJobRunner.java:63) at java.lang.Thread.run(Thread.java:619) 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:452) ... 10 more INFO 09-11 21:54:00,006 - x - Finished job entry [Shell: uncompress] (result=[true])

    Pentaho BI Platform Tracking | 5 years ago | Ralf Hense
    java.io.IOException: Cannot run program "/x/compressionhandling.sh": java.io.IOException: error=12, Cannot allocate memory
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    common-user - about,IOException: Call failed on local exception

    nabble.com | 1 year ago
    java.io.IOException: Cannot run program "bash": java.io.IOException: error=12, Cannot allocate memory
  5. 0

    When trying to view a Graph as generated by the depgraph-view plugin, an exception (below) is thrown due to memory constraints. On research there may be a correlation between this error and the forking behaviour of the plugin, as based on the following stakoverflow article: [http://stackoverflow.com/questions/1124771/how-to-solve-java-io-ioexception-error-12-cannot-allocate-memory-calling-runt] The machine I am running on is close to capacity, but I would not expect this plugin to exceed the limitation; {noformat} top - 11:06:10 up 43 days, 1:56, 2 users, load average: 0.31, 0.15, 0.09 Tasks: 97 total, 1 running, 96 sleeping, 0 stopped, 0 zombie Cpu(s): 0.4%us, 0.2%sy, 0.1%ni, 98.3%id, 1.0%wa, 0.0%hi, 0.0%si, 0.0%st Mem: 2097152k total, 2033764k used, 63388k free, 26180k buffers Swap: 557048k total, 354000k used, 203048k free, 330868k cached PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 17747 tomcat 21 0 2116m 1.3g 8028 S 9.2 65.7 211:37.36 java total used free shared buffers cached Mem: 2048 1989 58 0 26 325 -/+ buffers/cache: 1637 410 Swap: 543 345 198 {noformat} {noformat} SEVERE: Servlet.service() for servlet Stapler threw exception java.io.IOException: Cannot run program "/usr/bin/dot": java.io.IOException: error=12, Cannot allocate memory at java.lang.ProcessBuilder.start(ProcessBuilder.java:459) at hudson.Proc$LocalProc.<init>(Proc.java:244) at hudson.Proc$LocalProc.<init>(Proc.java:216) at hudson.Launcher$LocalLauncher.launch(Launcher.java:698) at hudson.Launcher$ProcStarter.start(Launcher.java:329) at hudson.plugins.depgraph_view.AbstractDependencyGraphAction.runDot(AbstractDependencyGraphAction.java:188) at hudson.plugins.depgraph_view.AbstractDependencyGraphAction.doDynamic(AbstractDependencyGraphAction.java:116) at sun.reflect.GeneratedMethodAccessor2071.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:282) at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:149) at org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:88) at org.kohsuke.stapler.MetaClass$11.dispatch(MetaClass.java:352) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:561) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:646) at org.kohsuke.stapler.MetaClass$12.dispatch(MetaClass.java:373) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:561) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:646) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:612) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:646) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:477) at org.kohsuke.stapler.Stapler.service(Stapler.java:159) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:94) at hudson.plugins.audit_trail.AuditTrailFilter.doFilter(AuditTrailFilter.java:65) at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:97) at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:86) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:47) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:84) at hudson.security.UnwrapSecurityExceptionFilter.doFilter(UnwrapSecurityExceptionFilter.java:51) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.ui.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:166) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.ui.rememberme.RememberMeProcessingFilter.doFilter(RememberMeProcessingFilter.java:142) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:271) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.ui.basicauth.BasicProcessingFilter.doFilter(BasicProcessingFilter.java:173) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:249) at hudson.security.HttpSessionContextIntegrationFilter2.doFilter(HttpSessionContextIntegrationFilter2.java:66) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:76) at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:164) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:81) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:433) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286) at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:190) at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:283) at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:767) at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:697) at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:889) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:690) at java.lang.Thread.run(Thread.java:619) 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:452) ... 71 more {noformat}

    Jenkins JIRA | 5 years ago | Toby Jackson
    java.io.IOException: Cannot run program "/usr/bin/dot": java.io.IOException: error=12, Cannot allocate memory

  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:452)
    3 frames
  3. org.pentaho.di
    JobEntryJobRunner.run
    1. org.pentaho.di.job.entries.shell.JobEntryShell.executeShell(JobEntryShell.java:631)
    2. org.pentaho.di.job.entries.shell.JobEntryShell.execute(JobEntryShell.java:447)
    3. org.pentaho.di.job.Job.execute(Job.java:503)
    4. org.pentaho.di.job.Job.execute(Job.java:642)
    5. org.pentaho.di.job.Job.execute(Job.java:642)
    6. org.pentaho.di.job.Job.execute(Job.java:642)
    7. org.pentaho.di.job.Job.execute(Job.java:642)
    8. org.pentaho.di.job.Job.execute(Job.java:420)
    9. org.pentaho.di.job.entries.job.JobEntryJobRunner.run(JobEntryJobRunner.java:63)
    9 frames
  4. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:619)
    1 frame