We have a JCO client trying to execute a BAPI and get a table containing
The IBM's proxy based RFC API has no problem doing it.
However, when we changed it to JCo, we have the out of memory error from
middle ware (listed below.) Is there any way to change buffer size.
What is the problem? Can you help us?
Thanks very much.
java.lang.OutOfMemoryError: out of memory
at com.sap.mw.jco.rfc.MiddlewareRFC$Client.nativeExecute(Native Method)
at com.sap.mw.jco.rfc.MiddlewareRFC$Client.execute(MiddlewareRFC.java:76 0)
at com.bcone.util.JcoProcessor.extractToRepository(JcoProcessor.java:281 )
Out of memory can be fixed by increasing the space allocation for the JVM (details differ between VMs). There is no limited buffer in JCo as far as I know. JCo may need a little bit more space since it marshalls the complete table from C to Java in order to provide much better performance.
This was first published in May 2002