Cache size control