Uploaded image for project: 'SystemDS'
  1. SystemDS
  2. SYSTEMDS-2234

Memory leak buffer pool due to missing variable cleanup

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • None
    • SystemML 1.2
    • None
    • None

    Description

      There are scenarios where variables are not properly cleaned up before assigning new matrices to logical variable names. This missing cleanup leads to a memory leak in the buffer pool, which in turn leads to unnecessary evictions and missing cleanup of FS and HDFS files.

      After a closer investigation, this issue occurs for special cases of function calls that have a peculiar control flow structure that prevents rmvar instructions for certain intermediates and thus requires cleanup of these intermediates after the function call. Furthermore, a similar issue occurs for loops with dedicated update-in place variables.

      Attachments

        Activity

          People

            mboehm7 Matthias Boehm
            mboehm7 Matthias Boehm
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: