jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mreut...@apache.org
Subject svn commit: r472045 - /jackrabbit/trunk/jackrabbit/src/main/java/org/apache/jackrabbit/core/persistence/db/DerbyPersistenceManager.java
Date Tue, 07 Nov 2006 09:23:29 GMT
Author: mreutegg
Date: Tue Nov  7 01:23:28 2006
New Revision: 472045

URL: http://svn.apache.org/viewvc?view=rev&rev=472045
Log:
JCR-624: OutOfMemoryError When repeat login and the logout many times
- missing call to Connection.close() in DerbyPersistenceManager.

Modified:
    jackrabbit/trunk/jackrabbit/src/main/java/org/apache/jackrabbit/core/persistence/db/DerbyPersistenceManager.java

Modified: jackrabbit/trunk/jackrabbit/src/main/java/org/apache/jackrabbit/core/persistence/db/DerbyPersistenceManager.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit/src/main/java/org/apache/jackrabbit/core/persistence/db/DerbyPersistenceManager.java?view=diff&rev=472045&r1=472044&r2=472045
==============================================================================
--- jackrabbit/trunk/jackrabbit/src/main/java/org/apache/jackrabbit/core/persistence/db/DerbyPersistenceManager.java
(original)
+++ jackrabbit/trunk/jackrabbit/src/main/java/org/apache/jackrabbit/core/persistence/db/DerbyPersistenceManager.java
Tue Nov  7 01:23:28 2006
@@ -101,6 +101,7 @@
         // changes which can't possibly be true.
         // @todo further investigate
         connection.setAutoCommit(true);
+        connection.close();
 
         // now it's safe to shutdown the embedded Derby database
         try {



Mime
View raw message