Not relavent for this patchset, but it looks like LRUArray and SlotArray could be unique_ptr'd which would make this desctructor and a number of additional try/catches go away.