is there a method in jboss (via an MBean perhaps) to view the count of object creation/garbage collected? we're researching some oom exceptions we've been having. perhaps we're keeping too many sessions around ( we have an unusually high session timeout), but would also like to see if there's perhaps a memory "leak".
thanks!
~mark
You need jdk5 for this:
http://java.sun.com/j2se/1.5.0/docs/guide/management/jconsole.html