commit | e65730cb86ccddadf54c5cba3681d6f7e3a24797 | [log] [tgz] |
---|---|---|
author | salsubaiee <salsubaiee@gmail.com> | Thu Aug 22 13:51:21 2013 -0700 |
committer | salsubaiee <salsubaiee@gmail.com> | Thu Aug 22 13:51:21 2013 -0700 |
tree | 78cf0f7155092e825718df1d58f5ed254c738b9b | |
parent | 94dafc6033f52e2dbc7fc268b1f49c8a0c2d1de7 [diff] |
Cleanup memory when a dataset has been dropped.
diff --git a/asterix-common/src/main/java/edu/uci/ics/asterix/common/context/DatasetLifecycleManager.java b/asterix-common/src/main/java/edu/uci/ics/asterix/common/context/DatasetLifecycleManager.java index 90fcf87..9cbdb81 100644 --- a/asterix-common/src/main/java/edu/uci/ics/asterix/common/context/DatasetLifecycleManager.java +++ b/asterix-common/src/main/java/edu/uci/ics/asterix/common/context/DatasetLifecycleManager.java
@@ -150,6 +150,8 @@ used -= (vbc.getNumPages() * vbc.getPageSize()); } datasetInfos.remove(did); + datasetVirtualBufferCaches.remove(did); + datasetOpTrackers.remove(did); } }