Firefox uses a heuristic algorithm when browser.cache.memory.capacity = -1 :
The browser.cache.memory.capacity integer specifically controls the maximum size of this fast-access RAM cache in . Why Adjust It? Browser.cache.memory.capacity
Unlike disk caching, which writes data to a persistent physical drive, memory caching utilizes a portion of the system's Firefox uses a heuristic algorithm when browser