Hi All ,
I am using SAP JCO to get data from SAP using java. I am using RFC_READ_TABLE function to fetch data.
For small amount of data it's working fine. but when I am trying to get data from table which has records in lakhs .It's throwing error as "OutOfMemoryError: Java heap space ". I have already increased heap size to max of RAM size(1300m).
When I did memory analysis by taking heapdump it shows memory is utilized max for "com.sap.conn.jco.rt.DefaultTable".
Please help to resolve this problem.