How to limit RAM usage for Mozilla Firefox

I noticed that mozilla firefox is taking lots of memory on my pc.  So I found a solution How to fixed that memory.

STEP 1: Open Mozilla Firefox.

STEP 2: Type “about:config” in address bar.

Mozilla Firefox About Config

STEP 3: Click “I Promise” button.

STEP 4: Type “browser.cache”  in Search Field.

STEP 5. After that Change the value for “browser.cache.disk.capacity”.  depend on system memory, you can assign different value. recommended

browser.cache.disk.capacity value


512MB RAM -1GB RAM — >Value 15000

1GB RAM Above —–> Value 50000