Hello!

When attempting to use an instance of H2 in a custom classloader, the
classloader is kept in memory due to static references to Throwable
objects in H2.

In my simple test [1], the leaking references are:
 * org.h2.store.DataReader.EOF
 * org.h2.engine.Session.openStackTrace

The H2 version used is 1.2.141.

For technical background on the bug, see [2] and [3].

Sincerely,
Erik Karlsson

[1] http://pastebin.ca/2051122
[2] http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6916498
[3] https://issues.apache.org/bugzilla/show_bug.cgi?id=50460

-- 
You received this message because you are subscribed to the Google Groups "H2 
Database" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/h2-database?hl=en.

Reply via email to