Uploaded image for project: 'mod-data-import'
  1. mod-data-import
  2. MODDATAIMP-465

Fix memory leaks after import.

    XMLWordPrintable

Details

    • 5
    • Folijet Support
    • R2 2021 Hot Fix #3
    • Yes
    • Juniper hotfix reconfirmed by CPT in the Slack release_bug_triage channel 4 Oct 2021.
    • Implementation coding issue

    Description

      Overview:
      When uploading a MARC file in an Iris environment, mod-data-import seems to use up all the memory necessary to process the file, but after the test is over, the memory does not get released. This causes the container to crash because it runs out of memory on subsequent imports. This situation is reproduced on the Vagrant Testing box too (see attachment).

      Steps to Reproduce:
      Upload a moderate file multiple times (500K records). Depending on the size of the file and the memory allocated to the container, the container will crash after 2 or more uploads. Can also observe the container's memory graphs on Cloudwatch or similar tools. 

      Expected Results:
      Memory is released after an import, multiple subsequent uploads of the same file will not crash the system.

      Actual Results:
      See above

      Interested parties:
      OleksiiKuzminov abreaux Kateryna Senchenko

      TestRail: Results

        Attachments

          1. 43_10K_imp.jpg
            43_10K_imp.jpg
            415 kB
          2. mod-source-record-manager.html
            2.02 MB
          3. mod-source-record-storage.html
            2.52 MB
          4. screenshot-1.png
            screenshot-1.png
            231 kB
          5. screenshot-2.png
            screenshot-2.png
            218 kB
          6. screenshot-3.png
            screenshot-3.png
            236 kB

          Issue Links

            Activity

              People

                Nosko Serhii Nosko
                afedasiuk Aliaksandr Fedasiuk
                Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  TestRail: Runs

                    TestRail: Cases