Hi,
When i try to execute a BAPI from PDK it works fine and displays the results in the table.But when the same BAPI is executed from EP6.0 and say if the table has no of rows greater than 6000 , it throws the following exception...
java.lang.OutOfMemoryError: out of memory at com.sap.mw.jco.rfc.MiddlewareRFC$Client.nativeExecute
Can anyone help me with this?
Thanks,
Vivek
Difficult to examine from here.
Mainly you should put on trace logging at JCO (Refer to JCO tutorial and documentation on help.sap.com.)
You may also post the stack trace from console logger.
You have also to check how much memorz you assigned to the VM of your Server. (1024 ?)
6000 rows in fact is really huge. If one row has 200 Characters (small table in R/3), you have at least 400 Byte per row (Unicode).
For 6000 rows this is 2,4 GB. If you are running on windows you peaked the maximum VM size. Also PDK is a small tool , Ep6.0 already assigns a lot of memory for the additionalm services.
Check your VM in TaskManager
Oliver
Add a comment