Getting error from Java collaboration: translate() method threw a java.lang.Exception. java.lang.OutOfMemoryError (Doc ID 1027570.1)

Last updated on OCTOBER 25, 2016

Applies to:

Sun e*Gate - Version 4.5.0 and later
Sun Schema Runtime Environment (SRE) - Version 5.0.5 and later
Information in this document applies to any platform.
***Checked for relevance on 19-Aug-2013***


Symptoms

Getting error from Java collaboration:

09:31:29.482 COL  I 16 (initialize.cxx:315): JCS: Java collaboration translate threw a java.lang.OutOfMemoryError!
09:31:29.482 COL  I 16 (java_extensions.cxx:1442): *************** Exception occurred **************
09:31:29.482 COL  I 16 (java_extensions.cxx:1442):  toString: java.lang.OutOfMemoryError: Java heap space
09:31:29.482 COL  I 16 (java_extensions.cxx:1442):
09:31:29.482 COL  I 16 (java_extensions.cxx:1442):  getMessage: Java heap space
09:31:29.482 COL  I 16 (java_extensions.cxx:1442):
09:31:29.529 COL  I 16 (java_extensions.cxx:1442):  StackTrace:
java.lang.OutOfMemoryError: Java heap space
       at com.stc.jcsre.buffers.ByteBuffer$Chunk.<init>(ByteBuffer.java:13)
       at com.stc.jcsre.buffers.ByteBuffer.append(ByteBuffer.java:95)
       at com.stc.jcsre.buffers.ByteArrayOutputStream.write(ByteArrayOutputStream.java:23)
       at com.stc.common.collabService.JMSClientWrapper.readDataFromJMSBytesMessage(JMSClientWrapper.java:277)
       at com.stc.common.collabService.JMSClientWrapper.processIncomingMessage(JMSClientWrapper.java:208)
       at com.stc.common.collabService.JMSClientWrapper.getJMsgImpl(JMSClientWrapper.java:151)
       at com.stc.common.collabService.JMSController.getMessageFromJMSFor(JMSController.java:190)
       at com.stc.common.collabService.JMSController.getMessageFromJMS(JMSController.java:378)
       at com.stc.common.collabService.JCCollabControllerImpl.translate(JCCollabControllerImpl.java:528)

09:31:29.529 COL  I 16 (java_extensions.cxx:1442): *************************************************
09:31:29.530 COL  F 16 (initialize.cxx:336): JVM runs out of memory. Java Collaboration translate cannot continue. Shutting down.

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms