Uploaded image for project: 'Derby'
  1. Derby
  2. DERBY-210 Network Server will leak prepared statements if not explicitly closed by the user until the connection is closed
  3. DERBY-1103

Change the client driver to allow statements to be garbage-collected once they are not referenced in an application

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 10.1.3.1, 10.2.1.6
    • Network Client
    • None

    Description

      This is a sub-task of DERBY-210 which covers the following;

      1. Eliminates the references to statement classes in the client driver. This allows the statement objects to be garbage-collected once they are not referenced in the application.
      2. Clean up the finalizer in the statement classes to avoid synchronized operations.
      3. Add the test in the repro derbyStress.java to regression test.

      This sub-task solves the memory leak mentioned in the repro "derbyStress.java".

      Attachments

        1. derby-1103-v10.1.status
          1 kB
          Deepa
        2. derby-1103-v10.1.diff
          34 kB
          Deepa

        Activity

          People

            deepa Deepa
            deepa Deepa
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: