Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-29913

Remove temporary files tracked by Framework at the end of the thead execution

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 10.10
    • Fix Version/s: None
    • Component/s: Convert
    • Tags:
    • Backlog priority:
      500

      Description

      Currently temporary files are added to Framework#trackFile and the files are deleted when the GC removes the related object from the JVM.

      With this method, sometimes files or folders are never removed.

      One solution could be to remove these temp files at the end of the thread execution.
      Attached is a small POC

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              tmartins Thierry Martins
              Participants:
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: