Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8627

SAP JCO : OutOfMemoryError for huge table data

$
0
0

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.


Viewing all articles
Browse latest Browse all 8627

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>