Re: Permgen issues only when run as a Windows Service
at > org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:76) > at > org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51) > at > org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:116) > at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:361) > at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:155) > at > org.jvnet.hudson.maven3.launcher.Maven31Launcher.main(Maven31Launcher.java:132) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:606) > at > org.codehaus.plexus.classworlds.launcher.Launcher.launchStandard(Launcher.java:330) > at > org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:238) > at jenkins.maven3.agent.Maven31Main.launch(Maven31Main.java:181) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:606) > at hudson.maven.Maven3Builder.call(Maven3Builder.java:134) > at hudson.maven.Maven3Builder.call(Maven3Builder.java:69) > at hudson.remoting.UserRequest.perform(UserRequest.java:118) > at hudson.remoting.UserRequest.perform(UserRequest.java:48) > at hudson.remoting.Request$2.run(Request.java:328) > at > hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72) > at java.util.concurrent.FutureTask.run(FutureTask.java:262) > at > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) > at java.lang.Thread.run(Thread.java:745) > channel stopped > > Exception: java.lang.OutOfMemoryError thrown from the > UncaughtExceptionHandler in thread > "org.springframework.scheduling.quartz.SchedulerFactoryBean#0_Worker-9" > > > None of which occurs when I log in to that machine and run the same > commands myself. Some help on this would be appreciated. > > Thanks, > > James > > > > On 8 May 2014 13:43, wrote: > >> There are memory issues in 1.560/1.561/1.562 – see >> https://issues.jenkins-ci.org/browse/JENKINS-22734 >> >> >> >> *From:* James Green [mailto:james.mk.gr...@gmail.com] >> *Sent:* 08 May 2014 12:13 >> *To:* jenkinsci-users@googlegroups.com >> *Subject:* OOM: Permgen issues only when run as a Windows Service >> >> >> >> I've got a Windows 8 Pro machine connected to our Jenkins 1.562 instance >> as a slave. The slave runs as a windows service. >> >> >> >> I have set MAVEN_OPTS as a system property variable. If I open an >> administrative cmd prompt and type 'set' included is the following: >> >> >> >> MAVEN_OPTS=-Xms1024m -Xmx1024m -XX:NewSize=256m -XX:MaxNewSize=356m >> -XX:PermSize >> >> =1024m -XX:MaxPermSize=2048m >> >> >> >> If I check out a maven 3 project and clean/install it myself it works. >> But the Jenkins service fails it, with OOM: Permgen Space. >> >> >> >> Any ideas? >> >> >> >> Thanks, >> >> >> >> James >> >> >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Jenkins Users" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to jenkinsci-users+unsubscr...@googlegroups.com. >> For more options, visit https://groups.google.com/d/optout. >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Jenkins Users" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to jenkinsci-users+unsubscr...@googlegroups.com. >> For more options, visit https://groups.google.com/d/optout. >> > > -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: Permgen issues only when run as a Windows Service
thodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.codehaus.plexus.classworlds.launcher.Launcher.launchStandard(Launcher.java:330) at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:238) at jenkins.maven3.agent.Maven31Main.launch(Maven31Main.java:181) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at hudson.maven.Maven3Builder.call(Maven3Builder.java:134) at hudson.maven.Maven3Builder.call(Maven3Builder.java:69) at hudson.remoting.UserRequest.perform(UserRequest.java:118) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:328) at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) channel stopped Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "org.springframework.scheduling.quartz.SchedulerFactoryBean#0_Worker-9" None of which occurs when I log in to that machine and run the same commands myself. Some help on this would be appreciated. Thanks, James On 8 May 2014 13:43, wrote: > There are memory issues in 1.560/1.561/1.562 – see > https://issues.jenkins-ci.org/browse/JENKINS-22734 > > > > *From:* James Green [mailto:james.mk.gr...@gmail.com] > *Sent:* 08 May 2014 12:13 > *To:* jenkinsci-users@googlegroups.com > *Subject:* OOM: Permgen issues only when run as a Windows Service > > > > I've got a Windows 8 Pro machine connected to our Jenkins 1.562 instance > as a slave. The slave runs as a windows service. > > > > I have set MAVEN_OPTS as a system property variable. If I open an > administrative cmd prompt and type 'set' included is the following: > > > > MAVEN_OPTS=-Xms1024m -Xmx1024m -XX:NewSize=256m -XX:MaxNewSize=356m > -XX:PermSize > > =1024m -XX:MaxPermSize=2048m > > > > If I check out a maven 3 project and clean/install it myself it works. But > the Jenkins service fails it, with OOM: Permgen Space. > > > > Any ideas? > > > > Thanks, > > > > James > > > > -- > You received this message because you are subscribed to the Google Groups > "Jenkins Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to jenkinsci-users+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > > -- > You received this message because you are subscribed to the Google Groups > "Jenkins Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to jenkinsci-users+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
RE: Permgen issues only when run as a Windows Service
There are memory issues in 1.560/1.561/1.562 – see https://issues.jenkins-ci.org/browse/JENKINS-22734 From: James Green [mailto:james.mk.gr...@gmail.com] Sent: 08 May 2014 12:13 To: jenkinsci-users@googlegroups.com Subject: OOM: Permgen issues only when run as a Windows Service I've got a Windows 8 Pro machine connected to our Jenkins 1.562 instance as a slave. The slave runs as a windows service. I have set MAVEN_OPTS as a system property variable. If I open an administrative cmd prompt and type 'set' included is the following: MAVEN_OPTS=-Xms1024m -Xmx1024m -XX:NewSize=256m -XX:MaxNewSize=356m -XX:PermSize =1024m -XX:MaxPermSize=2048m If I check out a maven 3 project and clean/install it myself it works. But the Jenkins service fails it, with OOM: Permgen Space. Any ideas? Thanks, James -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com<mailto:jenkinsci-users+unsubscr...@googlegroups.com>. For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
OOM: Permgen issues only when run as a Windows Service
I've got a Windows 8 Pro machine connected to our Jenkins 1.562 instance as a slave. The slave runs as a windows service. I have set MAVEN_OPTS as a system property variable. If I open an administrative cmd prompt and type 'set' included is the following: MAVEN_OPTS=-Xms1024m -Xmx1024m -XX:NewSize=256m -XX:MaxNewSize=356m -XX:PermSize =1024m -XX:MaxPermSize=2048m If I check out a maven 3 project and clean/install it myself it works. But the Jenkins service fails it, with OOM: Permgen Space. Any ideas? Thanks, James -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.