posted 22 years ago
1. I am working with Servlets/Jsps WebSphere 3.5 application which makes use of Accessing CICS Transaction(Enterprise Access Builder- Cobol to RecordType ).
2. To connect to CICS Server I make use of CicsConnectionSpec class and I am providing URL,Gateway etc...
3. Apllication works fine except for some times it gives following error:
/*****Error******/
*** CICSManagedConnection.flow() exception: java.lang.OutOfMemoryError.
*** CICSManagedConnection.flow() exception: java.lang.OutOfMemoryError.
*** CICSManagedConnection.flow() exception: java.lang.OutOfMemoryError.
*** CICSManagedConnection.flow() exception: java.lang.OutOfMemoryError.
*** CICSManagedConnection.flow() exception: java.lang.OutOfMemoryError.
*** ECIHelper.eciRequest() exception: java.lang.OutOfMemoryError.
*** ECIHelper.eciRequest() exception: java.lang.OutOfMemoryError.
*** ECIHelper.eciRequest() exception: java.lang.OutOfMemoryError.
*** ECIHelper.eciRequest() exception: java.lang.OutOfMemoryError.
*** ECIHelper.eciRequest() exception: java.lang.OutOfMemoryError.
/******Error*******/
4.On this, some times application comes to a hang or still continues.
5. Where lies the problem? All objects created are local in nature and should collected by garbage collector.
6. I am not holding any resources and make CICS calls as and when required.
7. application is configured for a 64Meg initial Heap, with a 128Meg Max. on AIX machine.
8. What is the use of method setMaxConnections()/setMinConnection() in CicsConnectionSpecs? I am not using them? Is that the problem?
9. Any inputs on this will be a great help.
Thanks a lot!!
Dharmesh