Clebert, I eventually found some time to test this thoroughly and I think I isolated, what is causing the leak.
I found that leak increases in only one situation: when I send to the server entities which contain relations to other entities that I have received from the server in previous calls (as proxies) (I'm using a standalone java client that communicates with jboss via RMI.) For example: I have two entities: Product and Invoice. Invoice has a collection of Products. 1. When I'm sending (from client) Products constructed on the client side and persisting them on the server - there is no leak. 2. When client queries server for some Products, then creates a new Invoice, adds Products to the collection in Invoice and then calls server to persist Invoice - I observe a leak. 3. But when I, to further test it, wrote a method that receives a collection of Product id's and creates Invoice on the server side - there is no leak. I'm also using TimerService, but I did all the above tests with and without timers and I observed that it does not affect memory leakage. Hope that will help You find a hook point in solving this problem Pawel Miniewicz View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3951679#3951679 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3951679 _______________________________________________ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user