SAP BAPI/RFC Wizard Terminates when Trying to Display a Large List of RFCs. (Doc ID 1451902.1)

Last updated on NOVEMBER 02, 2016

Applies to:

Oracle Java CAPS - Version 5.1.3 to 5.1.3 [Release 5.1]
Information in this document applies to any platform.

Symptoms

Attempting to create a SAP BAPI RFC OTD on Java CAPS 5.1.3 Update 4. After entering the login parameters at step '4. Select Login Parameters' in the SAP BAPI OTD Wizard and selecting 'Next', the wizard tries to retrieve the list of SAP RFCs and after 1 minute it terminates abnormally without displaying any further screen or message. There are no errors in the ide.log or the repository.log. If RFC tracing is enabled, the following error occurs in the RFC trace:

' [JAV-LAYER] JCO.Client.execute (RFC_FUNCTION_SEARCH) on handle [2]
[JNI-LAYER] RFC.nativeExecute() enter, [SUCCESS]
[JNI-LAYER] RFC.getTypeHandle() before RfcInstallStructure2("RFCFUNC",0AB5F600,5,08204BCC)
[JNI-LAYER] RFC.getTypeHandle() after RfcInstallStructure2("RFCFUNC",0AB5F600,5,08204BCC) = RFC_OK
[JNI-LAYER] RFC.reallocRecordBuffers() enter, [SUCCESS]
[JNI-LAYER] RFC.reallocRecordBuffers("RFCFUNC"(01267D6C),08204B28) enter [SUCCESS]
[JNI-LAYER] RFC.reallocRecordBuffers() with rc = RFC_OK leave, [SUCCESS]
[JNI-LAYER] RFC.nativeExecute() before RfcCallReceive(2,"RFC_FUNCTION_SEARCH",0D5BC5E0,00000000,081D6958,07DFEA58)
[JNI-LAYER] RFC.nativeExecute() after RfcCallReceive(2,"RFC_FUNCTION_SEARCH",0D5BC5E0,00000000,081D6958,07DFEA58) = RFC_OK
[JNI-LAYER] RFC.reallocRecordBuffers() enter, [SUCCESS]
[JNI-LAYER] RFC.reallocRecordBuffers("RFCFUNC"(01267D6C),08204B28) enter [SUCCESS]
java.lang.OutOfMemoryError

Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: requested 175503730 bytes for jchar in D:/BUILD_AREA/jdk142-update/ws/fcs/hotspot\src\share\vm\prims\jni.cpp. Out of swap space? '

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