I’‘ve been having a heck of a time with memory leaks in OpenFire Enterprise 3.3.2 and the betas of Jadestorm’‘s gateways. However, neither of us can narrow down where the problem is occurring. He can’'t duplicate it, and I have no diagnostic information I can give him (aside from stray lines in the various logs) to help him locate the problem.
Is there anything I can do to get some useful information about where these leaks are occurring? I have Sun’‘s JRE (and JDK) 1.5 running on FreeBSD 6.1. It also appears that I can’‘t use jmap (that was one of the first things Jadestorm suggested), as it’‘s missing some library that I’'m assuming has yet to be ported to work on FreeBSD. Any help would be greatly appreciated as I have to restart my server every 1-2 days to clear the memory. I currently have 256MB allocated to the JVM (the maximum value) and it just slowly creeps up over the course of 48 hours until it overflows.