RTC 4.0.4 zOS bfagent dependency build - why am I getting java out of memory?
Donald Poulin (224●9●119●107)
| asked Oct 14 '13, 10:12 a.m.
retagged Oct 17 '13, 8:04 a.m. by Steve Dearth (221●2)
We are running zOS 1.13 and RTC 4.0.4 with buildtoolkit, bfagent installed.The bfagent was started up via "startbfa.sh" by a user with uid 0. The test connection between the build engine and the bfagent passed but my initial build fails with java out of memory. What do I need to change? We are using java 6.0.1 64 bit.
* core file 8192b * cpu time 7203 * data size unlimited * file size unlimited * stack size unlimited * file descriptors 64000 * address space 39332k * memory above bar 1000m * Filesystem 1024-blocks Used Available Capacity Mounted on * RTCV404.RATIONAL.ZFS 2880000 1080593 1799407 38% /usr/lpp/jazz/v4.0.4 * CICSTS51.OMVS.CICSTS.CICSTS51 182880 137193 45687 76% /usr/lpp/cicsts/cicsts51 * DB2A.ZFS.SHUMROOT 576 521 55 91% /Service/usr/lpp/spss * DB2A.ZFS.DSNA10.DB2WORF 1680 1433 247 86% /Service/usr/lpp/db2a10/worf * DB2A.ZFS.DSNA10.DB2MQL 2160 1737 423 81% /Service/usr/lpp/db2a10/mql * DB2A.ZFS.DSNA10.DB2JDBC 14400 11241 3159 79% /Service/usr/lpp/db2a10/jdbc * DB2A.ZFS.DSNA10.DB2BASE 5760 4233 1527 74% /Service/usr/lpp/db2a10 * OMVS.SCFZHFS2 130320 29024 101296 23% /SYSTEM/var/wbem * OMVS.VAR 576 505 71 88% /SYSTEM/var * OMVS.SELAROOT 5760 4336 1424 76% /usr/lpp/EGLRuntime * OMVS.SAPSROOT 3456 2776 680 81% /usr/lpp/psf * OMVS.SIBMROOT 1728 1276 452 74% /usr/lpp/pli * OMVS.V7R1M0.MQROOT 216720 163643 53077 76% /usr/lpp/mqm/V7R1M0 * OMVS.SIGYROOT 960 326 634 34% /usr/lpp/cobol * OMVS.ETC 960 674 286 71% /SYSTEM/etc * OMVS.ROOT 3600000 2335858 1264142 65% / * /dev 4096 64 4032 2% /SYSTEM/dev * /tmp 102400 72 102328 1% /SYSTEM/tmp * PROD.RRMAC.JAVA.HFS 252000 249452 2468 100% /usr/lpp/java/J6.0_64 * RTCV404.UJAZZ 72000 452 71420 1% /u/jazz404 * RTCV404.ETCJAZZ 72000 52 71880 1% /SYSTEM/etc/jazz404 * BPXROOT * Apache Ant version 1.7.1 compiled on June 27 2008 * Buildfile: /u/jazz/bldwrk/AgileTest/Dev/rtcEnterpriseBuild.xml * JVMDUMP039I Processing dump event "systhrow", detail "java/lang/OutOfMemoryError" at 2013/10/14 09:01:46 - please wait. * JVMDUMP032I JVM requested Heap dump using '/u/rmac05/heapdump.20131014.090146.50331938.0001.phd' in response to an event * JVMDUMP010I Heap dump written to /u/rmac05/heapdump.20131014.090146.50331938.0001.phd * JVMDUMP032I JVM requested Java dump using '/u/rmac05/javacore.20131014.090146.50331938.0002.txt' in response to an event * JVMDUMP010I Java dump written to /u/rmac05/javacore.20131014.090146.50331938.0002.txt * JVMDUMP032I JVM requested Snap dump using '/u/rmac05/Snap.20131014.090146.50331938.0003.trc' in response to an event * JVMDUMP010I Snap dump written to /u/rmac05/Snap.20131014.090146.50331938.0003.trc * JVMDUMP013I Processed dump event "systhrow", detail "java/lang/OutOfMemoryError". * * BUILD FAILED * java.lang.OutOfMemoryError: Java heap space * at java.lang.Object.clone(Native Method) * at com.ibm.security.util.DerInputBuffer.dup(DerInputBuffer.java:56) * at com.ibm.security.util.DerValue.<init>(DerValue.java:276) * at com.ibm.security.util.DerInputStream.readVector(DerInputStream.java:472) * at com.ibm.security.util.DerInputStream.getSequence(DerInputStream.java:397) * at com.ibm.security.x509.X500Name.parseDER(X500Name.java:1308) * at com.ibm.security.x509.X500Name.<init>(X500Name.java:404) * at com.ibm.security.x509.CertificateIssuerName.<init>(CertificateIssuerName.java:94) * at com.ibm.security.x509.X509CertInfo.parse(X509CertInfo.java:938) * at com.ibm.security.x509.X509CertInfo.<init>(X509CertInfo.java:236) * at com.ibm.security.x509.X509CertInfo.<init>(X509CertInfo.java:222) * at com.ibm.security.x509.X509CertImpl.parse(X509CertImpl.java:2293) * at com.ibm.security.x509.X509CertImpl.<init>(X509CertImpl.java:268) * at com.ibm.security.x509.X509CertImpl.<init>(X509CertImpl.java:254) * at com.ibm.security.cert.CertificateFactoryImpl.engineGenerateCertificate(CertificateFactoryImpl.java:106) * at java.security.cert.CertificateFactory.generateCertificate(CertificateFactory.java:409) * at sun.security.pkcs.PKCS7.parseSignedData(PKCS7.java:282) * at sun.security.pkcs.PKCS7.parse(PKCS7.java:156) * at sun.security.pkcs.PKCS7.parse(PKCS7.java:126) * at sun.security.pkcs.PKCS7.<init>(PKCS7.java:115) * at sun.security.util.SignatureFileVerifier.getTimestamp(SignatureFileVerifier.java:539) * at sun.security.util.SignatureFileVerifier.getSigners(SignatureFileVerifier.java:491) * at sun.security.util.SignatureFileVerifier.processImpl(SignatureFileVerifier.java:228) * at sun.security.util.SignatureFileVerifier.process(SignatureFileVerifier.java:196) * at java.util.jar.JarVerifier.processEntry(JarVerifier.java:309) * at java.util.jar.JarVerifier.update(JarVerifier.java:220) * at java.util.jar.JarFile.initializeVerifier(JarFile.java:388) * at java.util.jar.JarFile.getInputStream(JarFile.java:456) * at sun.net.www.protocol.jar.JarURLConnection.getInputStream(JarURLConnection.java:159) * at java.net.URL.openStream(URL.java:1022) * at com.ibm.team.repository.common.internal.util.StandaloneUtil.getBundleNameForManifest(StandaloneUtil.java:33) * at com.ibm.team.repository.common.internal.util.StandaloneFileLocator.<init>(StandaloneFileLocator.java:69) * * Total time: 4 minutes 59 seconds * java.lang.OutOfMemoryError: Java heap space * at java.lang.Object.clone(Native Method) * at com.ibm.security.util.DerInputBuffer.dup(DerInputBuffer.java:56) * at com.ibm.security.util.DerValue.<init>(DerValue.java:276) * at com.ibm.security.util.DerInputStream.readVector(DerInputStream.java:472) * at com.ibm.security.util.DerInputStream.getSequence(DerInputStream.java:397) * at com.ibm.security.x509.X500Name.parseDER(X500Name.java:1308) * at com.ibm.security.x509.X500Name.<init>(X500Name.java:404) * at com.ibm.security.x509.CertificateIssuerName.<init>(CertificateIssuerName.java:94) * at com.ibm.security.x509.X509CertInfo.parse(X509CertInfo.java:938) * at com.ibm.security.x509.X509CertInfo.<init>(X509CertInfo.java:236) * at com.ibm.security.x509.X509CertInfo.<init>(X509CertInfo.java:222) * at com.ibm.security.x509.X509CertImpl.parse(X509CertImpl.java:2293) * at com.ibm.security.x509.X509CertImpl.<init>(X509CertImpl.java:268) * at com.ibm.security.x509.X509CertImpl.<init>(X509CertImpl.java:254) * at com.ibm.security.cert.CertificateFactoryImpl.engineGenerateCertificate(CertificateFactoryImpl.java:106) * at java.security.cert.CertificateFactory.generateCertificate(CertificateFactory.java:409) * at sun.security.pkcs.PKCS7.parseSignedData(PKCS7.java:282) * at sun.security.pkcs.PKCS7.parse(PKCS7.java:156) * at sun.security.pkcs.PKCS7.parse(PKCS7.java:126) * at sun.security.pkcs.PKCS7.<init>(PKCS7.java:115) * at sun.security.util.SignatureFileVerifier.getTimestamp(SignatureFileVerifier.java:539) * at sun.security.util.SignatureFileVerifier.getSigners(SignatureFileVerifier.java:491) * at sun.security.util.SignatureFileVerifier.processImpl(SignatureFileVerifier.java:228) * at sun.security.util.SignatureFileVerifier.process(SignatureFileVerifier.java:196) * at java.util.jar.JarVerifier.processEntry(JarVerifier.java:309) * at java.util.jar.JarVerifier.update(JarVerifier.java:220) * at java.util.jar.JarFile.initializeVerifier(JarFile.java:388) * at java.util.jar.JarFile.getInputStream(JarFile.java:456) * at sun.net.www.protocol.jar.JarURLConnection.getInputStream(JarURLConnection.java:159) * at java.net.URL.openStream(URL.java:1022) * at com.ibm.team.repository.common.internal.util.StandaloneUtil.getBundleNameForManifest(StandaloneUtil.java:33) * at com.ibm.team.repository.common.internal.util.StandaloneFileLocator.<init>(StandaloneFileLocator.java:69) * Java heap space |
Accepted answer
Donald,
I'm not sure what's causing this based on the info you've provided, but one thing to double check is the value of ASSIZEMAX for the user under which the build is running. Try changing the value to 2147483647 and see if that resolves the issue.
Donald Poulin selected this answer as the correct answer
|
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.