Attachment migration from DB to filesystem fails with either OOME or exhausted file handles

XMLWordPrintable

      Migration of the attachments out of the database onto the filesystem will cause a race between running out of memory and running out of file handles (from the spool files) if there are a large amount of attachments.

      This looks like it is due to using HQL to do the delete of all of the attachmentdata, which causes a find(...), which looks like it loads all of the entities.

              Assignee:
              Ryan
              Reporter:
              Ryan
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: