Error - java.lang.OutOfMemoryError: out of memory

Hi

We have developed one tool, which conencts to SAP server and extracts data from SAP tables. This tool is working fine, but for some servers we are geting following error. Appreciate you help. Thanks

Exception in thread "Thread-2" java.lang.OutOfMemoryError: out of memory

at com.sap.mw.jco.rfc.MiddlewareRFC$Client.nativeExecute(Native Method)

at com.sap.mw.jco.rfc.MiddlewareRFC$Client.execute(Unknown Source)

at com.sap.mw.jco.JCO$Client.execute(Unknown Source)

at com.sap.mw.jco.JCO$Client.execute(Unknown Source)

[564 byte] By [pkishora] at [2007-11-27 9:13:56]
# 1
Try to increase your JVM's allocated memory
kdajania at 2007-7-12 22:01:44 > top of Java-index,Developer Tools,Debugging and Profiling Tool APIs...