When I execute a shell script (which executes a Java/EJB program), I am getting OutofMemoryError. How to overcome this error...? The Java/EJB program is deployed in EAServer 3.5 application server installed in Solaris 2.8. We are connecting to Sybase 12.5 database. The content of srv.log is given below. Jun 20 09:10:00 2002: Exception type from log component : /sybase_jag/bin/Gsms/InstallInactive/InstallInactive.log Jun 20 09:10:00 2002: Exception Message from log component : /sybase_jag/bin/Gsms/InstallInactive/InstallInactive.log Jun 20 09:10:15 2002: Exception Jun 20 09:10:15 2002: in thread Jun 20 09:10:15 2002: "Thread-7" Jun 20 09:10:15 2002: Jun 20 09:10:16 2002: java.lang.OutOfMemoryError Jun 20 09:10:17 2002: SystemException: UNKNOWN (NoData/NoData/retrieveNodataHouseholds - @10.9.20.45)