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

Improve memory usage

    XMLWordPrintable

    Details

    • Type: Epic
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 4.0.0
    • Fix Version/s: 4.4.2
    • Component/s: Framework
    • Release Notes Summary:
      Improved memory usage
    • Release Notes Description:
      Hide

      We take some precious time to improve the memory usage of the application. The result is quite enjoying as the application is now slight faster and consume less RAM & CPU. This is laptop battery savor!

      We also identified a memory leak in one the third-party module we are using for metrics, this had cause severe memory errors for some people and we are sorry for the inconvenience.

      Show
      We take some precious time to improve the memory usage of the application. The result is quite enjoying as the application is now slight faster and consume less RAM & CPU. This is laptop battery savor! We also identified a memory leak in one the third-party module we are using for metrics, this had cause severe memory errors for some people and we are sorry for the inconvenience.
    • Tags:
    • Team(s):
      DRIVE
    • Completion Level (0 to 5):
      5

      Description

      In order to make Nuxeo Drive less impacting on the OS, we should profile code parts that are not memory efficient. Such as when a lot of I/O is in the loop.

      So, before doing anything:
      1. Profile part of Drive and the Python client that deal with I/O to catch useless data copies (I am talking about https://julien.danjou.info/high-performance-in-python-with-zero-copy-and-the-buffer-protocol/).
      2. If such holes are found, fix them at the lowest lovel possible (the Python client, if applicable).

        Attachments

          Activity

            People

            • Assignee:
              mschoentgen Mickaël Schoentgen
              Reporter:
              mschoentgen Mickaël Schoentgen
              Participants:
            • Votes:
              0 Vote for this issue
              Watchers:
              1 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 - 1 minute
                1m