Skip to Content
author's profile photo Former Member
Former Member

Out of Memory Exception when calling BAPI through JCO


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$Client.nativeExecute

Can anyone help me with this?



Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Posted on Dec 29, 2003 at 11:59 AM

    Difficult to examine from here.

    Mainly you should put on trace logging at JCO (Refer to JCO tutorial and documentation on

    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


    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.