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

Long term memory leak when using PKCS11 and JCE exceeds 32 bit process address space

XMLWordPrintable

        Both recent JDK1.6 and JDK1.7 (build 76 last tested) runs of a simple NIO Server using JCE cryptography results in the server running out of memory after a few days of running. The customer's real application runs out of memory after a few hours.

        The exact same code running with sunpkcs11 provider line commented out of the java.security file quickly reaches a steady process address space limit and remains there indefinitely, so the leak is definitely in our pkcs11 layer that apparently is needed to take advantage of CMT cryptographic acceleration. This has been replicated on T5120 S10u7 and T2000 S10u6 machines, and I've attached a tarfile.

          There are no Sub-Tasks for this issue.

              mbalao Martin Balao Alonso
              bchapman Bruce Chapman
              Votes:
              0 Vote for this issue
              Watchers:
              18 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: