sun.net.ftp.FtpClient.finalize() blocks, causing java heap exhaustion

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 6
    • Affects Version/s: 6
    • Component/s: core-libs
    • None
    • mustang
    • generic
    • generic

      The finalize method of sun.net.ftp.FtpClient.finalize()
      issues a potentially blocking command to the ft server.
      If the nextwork is unresponsive, this can block for a very
      long time. When this happens, the finalization queue can
      get backed up, and eventually cause a java heap exhaustion,
      something that was observed at this customer's premises.

      See attached email thread.

            Assignee:
            Jean-Christophe Collet (Inactive)
            Reporter:
            Y. Ramakrishna
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: