Squid uses memory to store recently received objects and to buffer active responses. This directive specifies the amount of memory to use for storing these objects.
This directive doesn’t entirely control the size of the Squid process. See Appendix B for additional information.
cache_mem 8 MB
cache_mem 16 MB
cache_dir, maximum_object_size_in_memory, memory_replacement_policy