db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Peter Schi (JIRA)" <j...@apache.org>
Subject [jira] Created: (DERBY-3713) memory leak when insert rows into a table using org.apache.derby.jdbc.EmbeddedDriver
Date Fri, 06 Jun 2008 03:02:45 GMT
memory leak when insert rows into a table using org.apache.derby.jdbc.EmbeddedDriver 
-------------------------------------------------------------------------------------

                 Key: DERBY-3713
                 URL: https://issues.apache.org/jira/browse/DERBY-3713
             Project: Derby
          Issue Type: Bug
          Components: JDBC
    Affects Versions: 10.4.1.3
         Environment: solaris and macos,  jdk1.5
            Reporter: Peter Schi
            Priority: Critical


I downloaded the latest derby and I only modified the SimpleApp.java which came with the software
under db-derby-10.4.1.3-bin/demo/programs/simple  directory by inserting a larger string into
the same table and I inserted the same data for 10000 times, just using the default driver
which was org.apache.derby.jdbc.EmbeddedDriver 

I found out that there was memory leak, the size of used memory got increased and was about
the same size of total data inserted into the table.
For example, if  2MB size of data was inserted into the table, then the size of used memory
was increased by 2MB as well.

The memory leak still happened even if the database was shut down.





-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message