db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Knut Anders Hatlen (JIRA)" <derby-...@db.apache.org>
Subject [jira] Closed: (DERBY-1142) Metadata calls leak memory
Date Fri, 01 Sep 2006 12:02:23 GMT
     [ http://issues.apache.org/jira/browse/DERBY-1142?page=all ]

Knut Anders Hatlen closed DERBY-1142.
-------------------------------------

    Fix Version/s: 10.2.1.0
       Resolution: Fixed

Verified that the fix for DERBY-418 also fixes the remaining problems for this issue.

> Metadata calls leak memory
> --------------------------
>
>                 Key: DERBY-1142
>                 URL: http://issues.apache.org/jira/browse/DERBY-1142
>             Project: Derby
>          Issue Type: Bug
>          Components: JDBC
>    Affects Versions: 10.1.2.1, 10.2.1.0
>            Reporter: Knut Anders Hatlen
>            Priority: Minor
>             Fix For: 10.2.1.0
>
>         Attachments: 1142_close_single_use_activations_draft.txt, metadataloop.java
>
>
> When calling a DatabaseMetaData method that returns a ResultSet,
> memory is leaked. A loop like this (using the embedded driver)
>   while (true) {
>     ResultSet rs = dmd.getSchemas();
>     rs.close();
>   }
> will eventually cause an OutOfMemoryError.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message