Uploaded image for project: 'ShrinkWrap'
  1. ShrinkWrap
  2. SHRINKWRAP-153

ZIP Export does not shut down the internal ExecutorService

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 1.0.0-alpha-8
    • None
    • None
    • None

      During ZIP Export, we use the archive's configured ExecutorService to submit the encoding task, letting the reader continue in the Main thread. This enables an encoding-on-demand which limits resource starvation (only encode as the archive is read) and keeps us from generating OOME as defined by SHRINKWRAP-137.

      There's currently no mechanism to shut down the ES however, leaving non-daemon threads hanging around which prevent the JVM from shutting down. When the task is completed, ensure the service shuts down.

            arubinge@redhat.com Andrew Rubinger (Inactive)
            arubinge@redhat.com Andrew Rubinger (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: