Fix memory size problem in LRU allocator