Uploaded image for project: 'Nuxeo Drive '
  1. Nuxeo Drive
  2. NXDRIVE-845

Crash when generating a report containing a lot of big log files

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.4.1
    • Fix Version/s: 2.4.2
    • Component/s: Framework

      Description

      If the user has a lot of big log files, Drive will crash when trying to create a ZIP file containing all of them. The system could break (memory limit I would say).

      A solution could be to check the file size of a given log file and if it is more than 50 Mo, we can ignore it. As we keep 30 days of logs, we can zip 30 * 50 Mo = 1,500 Mo in the worst case.

      Good to know, now reports are zipped archives, so a report of 50 Mo can contain a real log file of the size of 600 Mo.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 4 hours
                  4h