Uploaded image for project: 'RESTEasy'
  1. RESTEasy
  2. RESTEASY-681

Temporary files are not deleted when using multipart requests

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 2.3.3.Final
    • 2.3.1
    • None
    • None

      The multipart provider uses mime4j to parse multipart messages. To store the messages it initializes a TempFileStorageProvider which stores the messages as temporary files on the harddrive. Unfortunately these files are only deleted, when the JVM exits, the internal delete() method doesn't seem to be called from RESTEasy. When processing lots of requests with a lot of data the temporary files need a huge amount of storage until Tomcat restarts.

              patriot1burke@gmail.com Bill Burke (Inactive)
              lennart.diedrich Lennart Diedrich (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: