Skip to content

Instantly share code, notes, and snippets.

@fbelzunc
Last active May 31, 2019 10:43
Show Gist options
  • Save fbelzunc/e269f6f6708aa25d2b3a15b643043a5c to your computer and use it in GitHub Desktop.
Save fbelzunc/e269f6f6708aa25d2b3a15b643043a5c to your computer and use it in GitHub Desktop.
```
May 14, 2019 10:48:21 AM com.cloudbees.opscenter.client.plugin.OperationsCenterCredentialsProvider lambda$saveCache$0
WARNING: Can not write the cache file
java.io.IOException: com.thoughtworks.xstream.io.StreamException: : Out of memory
at hudson.XmlFile.write(XmlFile.java:200)
at com.cloudbees.opscenter.client.plugin.OperationsCenterCredentialsProvider.lambda$saveCache$0(OperationsCenterCredentialsProvider.java:231)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
Caused by: com.thoughtworks.xstream.io.StreamException: : Out of memory
at com.thoughtworks.xstream.core.util.QuickWriter.flush(QuickWriter.java:77)
at com.thoughtworks.xstream.io.xml.PrettyPrintWriter.flush(PrettyPrintWriter.java:346)
at com.thoughtworks.xstream.XStream.toXML(XStream.java:990)
at hudson.XmlFile.write(XmlFile.java:193)
... 4 more
Caused by: java.io.IOException: Out of memory
at sun.nio.ch.FileDispatcherImpl.write0(Native Method)
at sun.nio.ch.FileDispatcherImpl.write(FileDispatcherImpl.java:60)
at sun.nio.ch.IOUtil.writeFromNativeBuffer(IOUtil.java:93)
at sun.nio.ch.IOUtil.write(IOUtil.java:65)
at sun.nio.ch.FileChannelImpl.write(FileChannelImpl.java:211)
at hudson.util.FileChannelWriter.write(FileChannelWriter.java:72)
at hudson.util.AtomicFileWriter.write(AtomicFileWriter.java:166)
at com.thoughtworks.xstream.core.util.QuickWriter.flush(QuickWriter.java:73)
... 7 more
```
```
- arg[0]: `-Dhudson.slaves.NodeProvisioner.initialDelay=0`
- arg[1]: `-Djenkins.install.runSetupWizard=false`
- arg[2]: `-Djenkins.model.Jenkins.slaveAgentPortEnforce=true`
- arg[3]: `-Djenkins.model.Jenkins.slaveAgentPort=31896`
- arg[4]: `-Dorg.jenkinsci.main.modules.sshd.SSHD.hostName=X.X.X.X`
- arg[5]: `-Dhudson.TcpSlaveAgentListener.hostName=X.X.X.X`
- arg[6]: `-Duser.home=/var/jenkins_home`
- arg[7]: `-Xmx5734m`
- arg[8]: `-Xms5734m`
- arg[9]: `-DMASTER_GRANT_ID=cafac8c9-efe0-4d4c-a08a-2feb3c266353`
- arg[10]: `-Dhudson.slaves.NodeProvisioner.initialDelay=0`
- arg[11]: `-Dcb.IMProp.warProfiles.cje=mesos.json`
- arg[12]: `-DMASTER_INDEX=64`
- arg[13]: `-Dorg.apache.commons.jelly.tags.fmt.timeZone=Europe/Madrid`
- arg[14]: `-Dcb.IMProp.warProfiles=mesos.json`
- arg[15]: `-DMASTER_OPERATIONSCENTER_ENDPOINT=https://example.jenkins.com//cjoc/`
- arg[16]: `-DMASTER_NAME=piaas-gl-arquitectura-cicd`
- arg[17]: `-DMASTER_ENDPOINT=https://example.jenkins.com/my-master/`
- arg[18]: `-Dhttp.nonProxyHosts=127.*`
- arg[19]: `-XX:MaxRAMFraction=1`
- arg[20]: `-XX:+ExplicitGCInvokesConcurrent`
- arg[21]: `-XX:+ParallelRefProcEnabled`
- arg[22]: `-XX:+UseStringDeduplication`
- arg[23]: `-XX:+UseGCLogFileRotation`
- arg[24]: `-XX:NumberOfGCLogFiles=5`
- arg[25]: `-XX:GCLogFileSize=40m`
- arg[26]: `-Xloggc:/var/jenkins_home/gc.log`
- arg[27]: `-XX:+PrintGCDetails`
- arg[28]: `-XX:+PrintGCDateStamps`
- arg[29]: `-XX:+PrintHeapAtGC`
- arg[30]: `-XX:+PrintGCCause`
- arg[31]: `-XX:+PrintTenuringDistribution`
- arg[32]: `-XX:+PrintReferenceGC`
- arg[33]: `-XX:+PrintAdaptiveSizePolicy`
- arg[34]: `-Dhudson.slaves.NodeProvisioner.initialDelay=0`
- arg[35]: `-Dcb.distributable.name=Docker Common CJE`
- arg[36]: `-Dcb.distributable.commit_sha=a303051e1bc9971240d26e619de392bab6db08c9`
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment