limit memory cache