replace OverflowLimit with an int maxSize
lru thread safe