Think I hit on a problem with JBoss transaction implementation. I found this when running my application with a lot of queries. The session facade EJB has method closeService marked transaction requeried, which writes service information and provides billing accounting. If one of this operations fails the EJBException is raised and transaction rolling back. I've started this application on JBoss 3.x with Interbase and after some times I get an exception with message "out of memory". I have tried to decrease max-capacity parameter and change database on Hypersonic but memory leak still again. Now I've found out that if EJBException is not raised the application works fine and if only transaction is rolled back, memory leak happens.
Please, help. Tell me how I can solve this problem.