|
View:
New views
3 Messages
—
Rating Filter:
Alert me
|
|
|
bug with shutdown?HsqlTimer.TaskRunner thread should nullify contextClassLoader Upon shutdown, the HsqlTimer.TaskRunner needs to nullify the thread "taskRunnerThread" contextClassLoader property via asetContextClassloader(null) on shutdown() By not doing this, if hsql is used in a hot-deployed environment, such asin Tomcat. When the context is destroyed and if shutdown() is called on thedatabase, this thread retains a reference to the WebappClassloader, which will never be cleaned up out of the heap because a JVM thread group retains a reference to this thread. Over time this will lead to a permgen out of memory exception [jvm thread group] -> [hsqltimer.taskRunner thread].contextClassLoader -> WebappClassloader -> [entire application] http://sourceforge.net/tracker/index.php?func=detail&aid=1922315&group_id=23316&atid=378131 ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Hsqldb-user mailing list Hsqldb-user@... https://lists.sourceforge.net/lists/listinfo/hsqldb-user |
|
|
Re: bug with shutdown?Thanks for reporting. Will check it for the next update.
Fred ----- Original Message ----- From: "ahnf" <interz12@...> To: <hsqldb-user@...> Sent: 21 March 2008 16:10 Subject: [Hsqldb-user] bug with shutdown? HsqlTimer.TaskRunner thread should nullify contextClassLoader Upon shutdown, the HsqlTimer.TaskRunner needs to nullify the thread "taskRunnerThread" contextClassLoader property via asetContextClassloader(null) on shutdown() By not doing this, if hsql is used in a hot-deployed environment, such asin Tomcat. When the context is destroyed and if shutdown() is called on thedatabase, this thread retains a reference to the WebappClassloader, which will never be cleaned up out of the heap because a JVM thread group retains a reference to this thread. Over time this will lead to a permgen out of memory exception [jvm thread group] -> [hsqltimer.taskRunner thread].contextClassLoader -> WebappClassloader -> [entire application] http://sourceforge.net/tracker/index.php?func=detail&aid=1922315&group_id=23316&atid=378131 ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Hsqldb-user mailing list Hsqldb-user@... https://lists.sourceforge.net/lists/listinfo/hsqldb-user ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Hsqldb-user mailing list Hsqldb-user@... https://lists.sourceforge.net/lists/listinfo/hsqldb-user |
|
|
|
| Free Forum Powered by Nabble | Forum Help |