Revert "Revert "Revert "Screept for remove old entries from Memory"""

This reverts commit b362d34f8cede6a446549c95596210297964126a.