Hello, We're using OpenGrok 11.1 with a Perforce repository and Tomcat 6. Unfortunately, we also have a memory leak in the application. It sporadically crashes with very little warning beforehand; the server's swap memory usage gradually starts rising about 3 hours before it uses 100% of the system memory. We applied the bugfix located at http://defect.opensolaris.org/bz/show_bug.cgi?id=19215 but it did not resolve the issue...
Right now we think it's some kind of thread leaking issue. When Tomcat's shutdown.sh is called, there will often be several dozen messages in the log files similar to the following: Message was "SEVERE: The web application [/source] created a ThreadLocal with key of type [org.opensolaris.opengrok.configuration.RuntimeEnvironment$1] (value [org.opensolaris.opengrok.configuration.RuntimeEnvironment$1@20a594d3]) and a value of type [org.opensolaris.opengrok.configuration.Configuration] (value [org.opensolaris.opengrok.configuration.Configuration@56cdb963]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak." Any and all advice would be much appreciated. We're attempting to locate the leak, but have not yet had much luck. Thanks, -Alex
_______________________________________________ opengrok-discuss mailing list opengrok-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/opengrok-discuss