Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-5027042

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 6
    • 6
    • 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.

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: