Implement a "only up to this many" option
Cache everything in limited modes, and free the remainder