decreases, blocks will be freed until the high-water mark is
reached. Thereafter, blocks will be used to store hot
objects.
+
+ If shared memory caching is enabled, Squid does not use the shared
+ cache space for in-transit objects, but they still consume as much
+ local memory as they need. For more details about the shared memory
+ cache, see memory_cache_shared.
DOC_END
NAME: maximum_object_size_in_memory
{
switch (purpose) {
case PageId::cachePage:
- // TODO: adjust cache_mem description to say that in SMP mode,
- // in-transit objects are not allocated using cache_mem. Eventually,
- // they should not use cache_mem even if shared memory is not used:
- // in-transit objects have nothing to do with caching.
return Config.memMaxSize > 0 ? Config.memMaxSize / PageSize() : 0;
case PageId::ioPage:
// XXX: this should be independent from memory cache pages