Firefoxのメモリ使用を減らす
about:config設定値
table:config
javascript.options.mem.gc_max_helper_threads 2
layers.offmainthreadcomposition.force-disabled true
javascript.options.external_thread_pool false
browser.tabs.remote.dataUriInDefaultWebProcess true
browser.tabs.remote.separatePrivilegedContentProcess false
browser.tabs.remote.separatePrivilegedMozillaWebContentProcess false
layout.css.stylo-threads 1
gfx.vsync.force-disable-waitforvblank true
network.decompression_off_mainthread2 false
gfx.webrender.wait-gpu-finished.disabled true
widget.wayland.vsync.enabled false
javascript.options.spectre.disable_for_isolated_content false セキュリティ対策
javascript.options.baselinejit.threshold 1000
javascript.options.compact_on_user_inactive_delay 2000
javascript.options.gc_delay 400
javascript.options.gc_delay.first 1000
javascript.options.gc_delay.full 30000
javascript.options.ion.offthread_compilation false
javascript.options.ion.threshold 15000
javascript.options.mem.gc_allocation_threshold_mb 3
javascript.options.mem.gc_high_frequency_large_heap_growth 120
javascript.options.mem.gc_high_frequency_small_heap_growth 120
javascript.options.mem.nursery.max_kb 32768
javascript.options.mem.nursery.min_kb 64
javascript.options.parallel_parsing false
javascript.options.spectre.jit_to_cxx_calls true
dom.ipc.processCount 1 プロセス分離しない
dom.ipc.processCount.webIsolated 1 プロセス分離しない
dom.ipc.processPrelaunch.enabled false プロセスを事前起動しない
fission.autostart false プロセス分離しない
fission.bfcacheInParent false bfcache無効化
media.hardware-video-decoding.enabled false GPU無効化
webgl.forbid-hardware true GPU無効化
gfx.webrender.software true GPU無効化
gfx.webrender.software.d3d11 false
webgl.forbid-software false ソフトウェアWebGLを許容
gfx.webrender.unaccelerated-widget.force true
network.process.enabled false ネットワークプロセスを無効化
dom.ipc.keepProcessesAlive.privilegedabout 0
media.allow-audio-non-utility true
media.utility-process.enabled false ※Windowsではできない?
media.rdd-process.enabled false
gfx.webrender.multithreading false シングルスレッドで描画する
network.http.http2.enabled false
network.http.http2.enforce-tls-profile false
network.http.http2.websockets false
network.http.http3.enable false
network.http.http3.enable_0rtt false
network.http.max-urgent-start-excessive-connections-per-host 0
network.http.speculative-parallel-limit 0
network.early-hints.preconnect.max_connections 0
network.http.max-connections 32
network.http.max-persistent-connections-per-server 2
network.http.max-urgent-start-excessive-connections-per-host 0
network.websocket.max-connections 64
network.early-hints.preconnect.enabled false
network.early-hints.preconnect.max_connections 0
network.preconnect false
network.http.rcwn.enabled false
network.http.rcwn.race_with_non_ssd false
browser.cache.disk.capacity 4000000
browser.cache.disk.max_entry_size 10000 デフォルトのほうが高い
browser.cache.disk.smart_size.enabled false
dom.ipc.forkserver.enable false
table:極限まで節約するなら
javascript.options.baselinejit false
javascript.options.main_process_disable_jit true
javascript.options.wasm_baselinejit true これがないとwasmがエラーになる
javascript.options.wasm_optimizingjit false
javascript.options.ion false
#Firefox