This was originally posted on the forum the text is,
We are running JBOSS 4.2.2 with JOSSO 1.8, and are having memory issues with JBOSS (Arent we all!)
So to look at what is going on we have a profiling tool (jprofiler) to see where memory and resources are being used on the server. One candidate that seems to be holding memory is JOSSO.
The "org.josso.gateway.identity.service.BaseRoleImpl" class seems to increase in instances in memory (by 19 each login/out) every time someone logs in, even if they log out again the memory is not cleared.
The "org.josso.gateway._1.1.protocol.SSORoleType" class also seems to grow in instances in memory (by 17 each login/out) after each log in/out. Again, these are never cleared.
I have been testing things out, and have changed the session and assertion stores to be be database stores in place of the memory stores I had, but that doesn't seem to make any difference.
The original post can be seen at :
https://sourceforge.net/projects/josso/forums/forum/399715/topic/3700885
This memory leeks needs to be looked at and the leak identified and rectified