Details
-
Task
-
Status: Closed
-
Blocker
-
Resolution: Fixed
-
None
-
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.