So I installed 2.7.4 on Websphere 8.5.5.9.

I'm running job with a maven build. Everything is fine, ear is created, but 
after that Jenkins stucks and throws Heap error (while creating enviroment 
variables like JENKINS_HOME).

FATAL: ...java.lang.OutOfMemoryError 
<http://stacktrace.jenkins-ci.org/search?query=java.lang.OutOfMemoryError>: ... 
Java Heap Error
        at java.lang.String.<init>(String.java:388) 
<http://stacktrace.jenkins-ci.org/search/?query=java.lang.String.%3Cinit%3E&entity=method>
        at java.lang.String.substring(String.java:1372) 
<http://stacktrace.jenkins-ci.org/search/?query=java.lang.String.substring&entity=method>
        at 
org.jvnet.winp.WinProcess.parseCmdLineAndEnvVars(WinProcess.java:144) 
<http://stacktrace.jenkins-ci.org/search/?query=org.jvnet.winp.WinProcess.parseCmdLineAndEnvVars&entity=method>
        at 
org.jvnet.winp.WinProcess.getEnvironmentVariables(WinProcess.java:121) 
<http://stacktrace.jenkins-ci.org/search/?query=org.jvnet.winp.WinProcess.getEnvironmentVariables&entity=method>
        at 
hudson.util.ProcessTree$Windows$1.getEnvironmentVariables(ProcessTree.java:453) 
<http://stacktrace.jenkins-ci.org/search/?query=hudson.util.ProcessTree$Windows$1.getEnvironmentVariables&entity=method>
        at 
hudson.util.ProcessTree$OSProcess.hasMatchingEnvVars(ProcessTree.java:277) 
<http://stacktrace.jenkins-ci.org/search/?query=hudson.util.ProcessTree$OSProcess.hasMatchingEnvVars&entity=method>
        at hudson.util.ProcessTree$Windows.killAll(ProcessTree.java:479) 
<http://stacktrace.jenkins-ci.org/search/?query=hudson.util.ProcessTree$Windows.killAll&entity=method>
        at hudson.Launcher$LocalLauncher.kill(Launcher.java:838) 
<http://stacktrace.jenkins-ci.org/search/?query=hudson.Launcher$LocalLauncher.kill&entity=method>
        at 
hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:540) 
<http://stacktrace.jenkins-ci.org/search/?query=hudson.model.AbstractBuild$AbstractBuildExecution.run&entity=method>
        at hudson.model.Run.execute(Run.java:1741) 
<http://stacktrace.jenkins-ci.org/search/?query=hudson.model.Run.execute&entity=method>
        at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) 
<http://stacktrace.jenkins-ci.org/search/?query=hudson.model.FreeStyleBuild.run&entity=method>
        at hudson.model.ResourceController.execute(ResourceController.java:98) 
<http://stacktrace.jenkins-ci.org/search/?query=hudson.model.ResourceController.execute&entity=method>
        at hudson.model.Executor.run(Executor.java:410) 
<http://stacktrace.jenkins-ci.org/search/?query=hudson.model.Executor.run&entity=method>
Finished: FAILURE


So I tried to run simple Groovy script in Jenkins console 


import org.jvnet.winp.Native;
println(Native.parseCmdLineAndEnvVars("jenkins server pid"))


and I got string with 150k chars long, where only first thousand are regular 
chars with env variables and the rest is some chinese weirdo chars. I tried to 
run Jenkins with UTF-8 by specifying

-Dclient.encoding.override=UTF-8 which ofc does not help. 


I'm quite hopeless and I don't know, how to fix this. Any suggestions?


-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/57539fe9-a06a-4bb8-aa89-7c27cd538359%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to