BrowserWorks / Waterfox

The official Waterfox 💧 source code repository
https://www.waterfox.net
Other
3.85k stars 342 forks source link

Waterfox classic 2019.10 memory management issues #1256

Closed JulianRagan closed 3 years ago

JulianRagan commented 5 years ago

Hi! I have been using Waterfox classic for while now, and I have noticed memory management issues.

If I open around 140 - 180 tabs (some of those tabs are heavy on JS scripts) over single runtime session Waterfox will grow up to several (5 - 6) gigabytes of memory, and will usually consume single cpu core to the full extent (to the point where copying url from the browser and pasting to say notepad can take 10 - 20 seconds). Even after closing all tabs, except for one about:newtab, Waterfox kept all the junk in memory and kept using entire cpu core whenever it got user focus.

Waterfox did not clean up that memory even after whole night of being left idle and continued to use entire cpu core when its window was in focus.

As a user, I would say that this behavior reminds me of much older builds of waterfox/firerfox.

JulianRagan commented 5 years ago

I have done some experiments and I see, that after manually entering about:memory and running GC, then CC, and at the end Minimize memory usage I can recover memory and drop CPU load to proper values. Without Minimize memory usage CPU load stays high, GC and CC freeup diffrent amounts of memory, and after that minimize memory usage frees only a little.

grahamperrin commented 5 years ago

Reading between the lines, alongside your issue 1257

Is this (above) the late October build 20191022125504 for Windows?

Can you describe the hardware?

Please let us have troubleshooting information.

Use the Copy text to clipboard button at:

Side note: you can make a block of mono-spaced text easier to read by 'fencing' the block.

One line above, one line below each block as described at https://guides.github.com/features/mastering-markdown/#examples â–¶ Code

Thanks

JulianRagan commented 5 years ago

Yes, that is the build I use. My hardware is:

CPU - Intel Core i5 4460
RAM - 16GB Dual Channel DDR3
Chipset: H97
Main drive - SSD SATA III
Graphics NVIDIA 970GTX

Contents of about:support

Application Basics
------------------

Name: Waterfox
Version: 2019.10
Build ID: 20191022125504
Update Channel: release
User Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:56.0) Gecko/20100101 Firefox/56.0 Waterfox/56.3
OS: Windows_NT 6.1
Multiprocess Windows: 0/1 (Disabled by accessibility tools)
Web Content Processes:
Stylo: false (disabled by default)
Google Key: Missing
Mozilla Location Service Key: Missing
Safe Mode: false

Waterfox Features
-----------------

Extensions
----------

Name: AdGuard AdBlocker
Version: 3.3.2
Enabled: true
ID: adguardadblocker@adguard.com

Name: All-in-One Sidebar
Version: 0.7.31.1
Enabled: true
ID: {097d3191-e6fa-4728-9826-b533d755359d}

Name: Bazzacuda Image Saver Plus
Version: 0.66
Enabled: true
ID: {FF2FA6A4-B3B1-11DD-B910-6C9A55D89593}

Name: Bloody Vikings!
Version: 0.9.4
Enabled: true
ID: bloodyvikings@ffs.bplaced.net

Name: Classic Add-ons Archive
Version: 2.0.1
Enabled: true
ID: ca-archive@Off.JustOff

Name: Color That Site!
Version: 0.17
Enabled: true
ID: ColourThatSite@einspeiser.de

Name: Config Export
Version: 1.0
Enabled: true
ID: ConfigExport@DCN

Name: Download YouTube Videos as MP4
Version: 1.8.10
Enabled: true
ID: {b9bfaf1c-a63f-47cd-8b9a-29526ced9060}

Name: Duplicate Tabs Closer
Version: 3.4.1
Enabled: true
ID: jid0-RvYT2rGWfM8q5yWxIxAHYAeo5Qg@jetpack

Name: Fierr
Version: 1.0.10.0.1-signed.1-signed
Enabled: true
ID: lolifoxFierrMOD@ArturOsinski-Virtual_ManPL

Name: FireGestures
Version: 1.11.1
Enabled: true
ID: firegestures@xuldev.org

Name: FlashStopper
Version: 2.6.4
Enabled: true
ID: flashstopper@byo.co.il

Name: Largest image
Version: 1.3
Enabled: true
ID: {bdef1bee-a5b7-4b3d-bab0-0be1286ba274}

Name: Link Cleaner
Version: 1.5
Enabled: true
ID: {6d85dea2-0fb4-4de3-9f8c-264bce9a2296}

Name: Muter
Version: 1.0.3.1-signed.1-signed
Enabled: true
ID: muter@yxl.name

Name: NetVideoHunter
Version: 1.20
Enabled: true
ID: netvideohunter@netvideohunter.com

Name: NoScript
Version: 5.1.8.4
Enabled: true
ID: {73a6fe31-595d-460b-a920-fcc0f8843232}

Name: Print Edit
Version: 18.4
Enabled: true
ID: printedit@DW-dev

Name: Session Manager
Version: 0.8.1.13
Enabled: true
ID: {1280606b-2510-4fe0-97ef-9b5a22eafe30}

Name: Skip Redirect
Version: 2.2.2
Enabled: true
ID: skipredirect@sblask

Name: Sort Tabs by URL
Version: 0.10
Enabled: true
ID: jid0-uRZpLu7VtYEF3IY7A2TpX21yj3A@jetpack

Name: SortTabs
Version: 1.1.0
Enabled: true
ID: jid1-ybZYGXHcBi9FHA@jetpack

Name: Tab Memory Usage
Version: 0.2.7
Enabled: true
ID: jid1-fRvgLzKONCsPew@jetpack

Name: Tab Mix Plus
Version: 0.5.8.1
Enabled: true
ID: {dc572301-7619-498c-a57d-39143191b318}

Name: TabGroups Manager revived
Version: 2017.06.21.011
Enabled: true
ID: {9b9a630c-a8c0-11e5-a190-6a611d5d46b0}

Name: uBlock Origin
Version: 1.23.0
Enabled: true
ID: uBlock0@raymondhill.net

Name: URL Flipper
Version: 3.1.1.20.1-signed.1-signed
Enabled: true
ID: urlflipper@mozilla.ktechcomputing.com

Name: URL Lister
Version: 1.3.1-signed.1-signed
Enabled: true
ID: urllister@binnyva.com

Graphics
--------

Features
Compositing: Direct3D 11
Asynchronous Pan/Zoom: none
WebGL 1 Driver WSI Info: EGL_VENDOR: Google Inc. (adapter LUID: 000000000000cdfe) EGL_VERSION: 1.4 (ANGLE 2.1.0.dec065540d5f) EGL_EXTENSIONS: EGL_EXT_create_context_robustness EGL_ANGLE_d3d_share_handle_client_buffer EGL_ANGLE_d3d_texture_client_buffer EGL_ANGLE_surface_d3d_texture_2d_share_handle EGL_ANGLE_query_surface_pointer EGL_ANGLE_window_fixed_size EGL_ANGLE_keyed_mutex EGL_ANGLE_surface_orientation EGL_NV_post_sub_buffer EGL_KHR_create_context EGL_EXT_device_query EGL_KHR_image EGL_KHR_image_base EGL_KHR_gl_texture_2D_image EGL_KHR_gl_texture_cubemap_image EGL_KHR_gl_renderbuffer_image EGL_KHR_get_all_proc_addresses EGL_KHR_stream EGL_KHR_stream_consumer_gltexture EGL_NV_stream_consumer_gltexture_yuv EGL_ANGLE_flexible_surface_compatibility EGL_ANGLE_create_context_webgl_compatibility EGL_CHROMIUM_create_context_bind_generates_resource EGL_EXTENSIONS(nullptr): EGL_EXT_client_extensions EGL_EXT_platform_base EGL_EXT_platform_device EGL_ANGLE_platform_angle EGL_ANGLE_platform_angle_d3d EGL_ANGLE_device_creation EGL_ANGLE_device_creation_d3d11 EGL_ANGLE_experimental_present_path EGL_KHR_client_get_all_proc_addresses
WebGL 1 Driver Renderer: Google Inc. -- ANGLE (NVIDIA GeForce GTX 970 Direct3D11 vs_5_0 ps_5_0)
WebGL 1 Driver Version: OpenGL ES 2.0 (ANGLE 2.1.0.dec065540d5f)
WebGL 1 Driver Extensions: GL_ANGLE_depth_texture GL_ANGLE_framebuffer_blit GL_ANGLE_framebuffer_multisample GL_ANGLE_instanced_arrays GL_ANGLE_lossy_etc_decode GL_ANGLE_pack_reverse_row_order GL_ANGLE_request_extension GL_ANGLE_robust_client_memory GL_ANGLE_texture_compression_dxt3 GL_ANGLE_texture_compression_dxt5 GL_ANGLE_texture_usage GL_ANGLE_translated_shader_source GL_CHROMIUM_bind_generates_resource GL_CHROMIUM_bind_uniform_location GL_CHROMIUM_copy_compressed_texture GL_CHROMIUM_copy_texture GL_CHROMIUM_sync_query GL_EXT_blend_minmax GL_EXT_color_buffer_half_float GL_EXT_debug_marker GL_EXT_discard_framebuffer GL_EXT_disjoint_timer_query GL_EXT_draw_buffers GL_EXT_frag_depth GL_EXT_map_buffer_range GL_EXT_occlusion_query_boolean GL_EXT_read_format_bgra GL_EXT_robustness GL_EXT_sRGB GL_EXT_shader_texture_lod GL_EXT_texture_compression_dxt1 GL_EXT_texture_filter_anisotropic GL_EXT_texture_format_BGRA8888 GL_EXT_texture_rg GL_EXT_texture_storage GL_EXT_unpack_subimage GL_KHR_debug GL_NV_EGL_stream_consumer_external GL_NV_fence GL_NV_pack_subimage GL_NV_pixel_buffer_object GL_OES_EGL_image GL_OES_EGL_image_external GL_OES_compressed_ETC1_RGB8_texture GL_OES_depth32 GL_OES_element_index_uint GL_OES_get_program_binary GL_OES_mapbuffer GL_OES_packed_depth_stencil GL_OES_rgb8_rgba8 GL_OES_standard_derivatives GL_OES_texture_float GL_OES_texture_float_linear GL_OES_texture_half_float GL_OES_texture_half_float_linear GL_OES_texture_npot GL_OES_vertex_array_object
WebGL 1 Extensions: ANGLE_instanced_arrays EXT_blend_minmax EXT_color_buffer_half_float EXT_frag_depth EXT_shader_texture_lod EXT_texture_filter_anisotropic EXT_disjoint_timer_query MOZ_debug OES_element_index_uint OES_standard_derivatives OES_texture_float OES_texture_float_linear OES_texture_half_float OES_texture_half_float_linear OES_vertex_array_object WEBGL_color_buffer_float WEBGL_compressed_texture_s3tc WEBGL_debug_renderer_info WEBGL_debug_shaders WEBGL_depth_texture WEBGL_draw_buffers WEBGL_lose_context MOZ_WEBGL_lose_context MOZ_WEBGL_compressed_texture_s3tc MOZ_WEBGL_depth_texture
WebGL 2 Driver WSI Info: EGL_VENDOR: Google Inc. (adapter LUID: 000000000000cdfe) EGL_VERSION: 1.4 (ANGLE 2.1.0.dec065540d5f) EGL_EXTENSIONS: EGL_EXT_create_context_robustness EGL_ANGLE_d3d_share_handle_client_buffer EGL_ANGLE_d3d_texture_client_buffer EGL_ANGLE_surface_d3d_texture_2d_share_handle EGL_ANGLE_query_surface_pointer EGL_ANGLE_window_fixed_size EGL_ANGLE_keyed_mutex EGL_ANGLE_surface_orientation EGL_NV_post_sub_buffer EGL_KHR_create_context EGL_EXT_device_query EGL_KHR_image EGL_KHR_image_base EGL_KHR_gl_texture_2D_image EGL_KHR_gl_texture_cubemap_image EGL_KHR_gl_renderbuffer_image EGL_KHR_get_all_proc_addresses EGL_KHR_stream EGL_KHR_stream_consumer_gltexture EGL_NV_stream_consumer_gltexture_yuv EGL_ANGLE_flexible_surface_compatibility EGL_ANGLE_create_context_webgl_compatibility EGL_CHROMIUM_create_context_bind_generates_resource EGL_EXTENSIONS(nullptr): EGL_EXT_client_extensions EGL_EXT_platform_base EGL_EXT_platform_device EGL_ANGLE_platform_angle EGL_ANGLE_platform_angle_d3d EGL_ANGLE_device_creation EGL_ANGLE_device_creation_d3d11 EGL_ANGLE_experimental_present_path EGL_KHR_client_get_all_proc_addresses
WebGL 2 Driver Renderer: Google Inc. -- ANGLE (NVIDIA GeForce GTX 970 Direct3D11 vs_5_0 ps_5_0)
WebGL 2 Driver Version: OpenGL ES 3.0 (ANGLE 2.1.0.dec065540d5f)
WebGL 2 Driver Extensions: GL_ANGLE_depth_texture GL_ANGLE_framebuffer_blit GL_ANGLE_framebuffer_multisample GL_ANGLE_instanced_arrays GL_ANGLE_lossy_etc_decode GL_ANGLE_pack_reverse_row_order GL_ANGLE_request_extension GL_ANGLE_robust_client_memory GL_ANGLE_texture_compression_dxt3 GL_ANGLE_texture_compression_dxt5 GL_ANGLE_texture_usage GL_ANGLE_translated_shader_source GL_CHROMIUM_bind_generates_resource GL_CHROMIUM_bind_uniform_location GL_CHROMIUM_copy_compressed_texture GL_CHROMIUM_copy_texture GL_CHROMIUM_sync_query GL_EXT_blend_minmax GL_EXT_color_buffer_float GL_EXT_color_buffer_half_float GL_EXT_debug_marker GL_EXT_discard_framebuffer GL_EXT_disjoint_timer_query GL_EXT_draw_buffers GL_EXT_frag_depth GL_EXT_map_buffer_range GL_EXT_occlusion_query_boolean GL_EXT_read_format_bgra GL_EXT_robustness GL_EXT_sRGB GL_EXT_shader_texture_lod GL_EXT_texture_compression_dxt1 GL_EXT_texture_filter_anisotropic GL_EXT_texture_format_BGRA8888 GL_EXT_texture_norm16 GL_EXT_texture_rg GL_EXT_texture_storage GL_EXT_unpack_subimage GL_KHR_debug GL_NV_EGL_stream_consumer_external GL_NV_fence GL_NV_pack_subimage GL_NV_pixel_buffer_object GL_OES_EGL_image GL_OES_EGL_image_external GL_OES_EGL_image_external_essl3 GL_OES_compressed_ETC1_RGB8_texture GL_OES_depth32 GL_OES_element_index_uint GL_OES_get_program_binary GL_OES_mapbuffer GL_OES_packed_depth_stencil GL_OES_rgb8_rgba8 GL_OES_standard_derivatives GL_OES_texture_float GL_OES_texture_float_linear GL_OES_texture_half_float GL_OES_texture_half_float_linear GL_OES_texture_npot GL_OES_vertex_array_object
WebGL 2 Extensions: EXT_color_buffer_float EXT_texture_filter_anisotropic EXT_disjoint_timer_query MOZ_debug OES_texture_float_linear WEBGL_compressed_texture_s3tc WEBGL_debug_renderer_info WEBGL_debug_shaders WEBGL_lose_context MOZ_WEBGL_lose_context MOZ_WEBGL_compressed_texture_s3tc
Direct2D: true
DirectWrite: true (6.2.9200.22774)
GPU #1
Active: Yes
Description: NVIDIA GeForce GTX 970
Vendor ID: 0x10de
Device ID: 0x13c2
Driver Version: 24.21.13.9836
Driver Date: 6-24-2018
Drivers: nvd3dumx,nvwgf2umx,nvwgf2umx nvd3dum,nvwgf2um,nvwgf2um
Subsys ID: 36791458
RAM: 4096

Diagnostics
AzureCanvasAccelerated: 0
AzureCanvasBackend: direct2d 1.1
AzureContentBackend: direct2d 1.1
AzureFallbackCanvasBackend: skia
Decision Log
GPU_PROCESS:
unavailable by default: Multi-process mode is not enabled
WEBRENDER:
opt-in by default: WebRender is an opt-in feature
unavailable by runtime: Build doesn't include WebRender
ADVANCED_LAYERS:
disabled by default: Disabled by default

Media
-----

Audio Backend: wasapi
Max Channels: 2
Preferred Channel Layout: stereo
Preferred Sample Rate: 48000
Output Devices
Name: Group
1 - Digital Display Audio (AMD High Definition Audio Device): HDAUDIO\FUNC_01&VEN_1002&DEV_AA01&SUBSYS_00AA0100&REV_1003\5&26f79751&0&0001
NVIDIA Output (2- NVIDIA High Definition Audio): HDAUDIO\FUNC_01&VEN_10DE&DEV_0071&SUBSYS_14583679&REV_1001\5&16725b03&0&0001
Realtek Digital Output (Realtek High Definition Audio): HDAUDIO\FUNC_01&VEN_10EC&DEV_0900&SUBSYS_18491151&REV_1000\4&37605d4d&0&0001
4 - Digital Display Audio (AMD High Definition Audio Device): HDAUDIO\FUNC_01&VEN_1002&DEV_AA01&SUBSYS_00AA0100&REV_1003\5&26f79751&0&0001
NVIDIA Output (NVIDIA High Definition Audio): HDAUDIO\FUNC_01&VEN_10DE&DEV_0071&SUBSYS_14583682&REV_1001\5&20386f47&0&0001
NVIDIA Output (NVIDIA High Definition Audio): HDAUDIO\FUNC_01&VEN_10DE&DEV_0071&SUBSYS_14583682&REV_1001\5&20386f47&0&0001
5 - Digital Display Audio (AMD High Definition Audio Device): HDAUDIO\FUNC_01&VEN_1002&DEV_AA01&SUBSYS_00AA0100&REV_1003\5&26f79751&0&0001
3 - Digital Display Audio (AMD High Definition Audio Device): HDAUDIO\FUNC_01&VEN_1002&DEV_AA01&SUBSYS_00AA0100&REV_1003\5&26f79751&0&0001
NVIDIA Output (2- NVIDIA High Definition Audio): HDAUDIO\FUNC_01&VEN_10DE&DEV_0071&SUBSYS_14583679&REV_1001\5&16725b03&0&0001
Bluetooth Hands-free Audio (Philips SHB7150 (Mono Audio)): BTHENUM\{0000111e-0000-1000-8000-00805f9b34fb}_VID&00010039_PID&13a4\7&282ba807&0&001E7C3BC213_C00000000
NVIDIA Output (NVIDIA High Definition Audio): HDAUDIO\FUNC_01&VEN_10DE&DEV_0071&SUBSYS_14583682&REV_1001\5&20386f47&0&0001
NVIDIA Output (NVIDIA High Definition Audio): HDAUDIO\FUNC_01&VEN_10DE&DEV_0071&SUBSYS_14583682&REV_1001\5&20386f47&0&0001
NVIDIA Output (2- NVIDIA High Definition Audio): HDAUDIO\FUNC_01&VEN_10DE&DEV_0071&SUBSYS_14583679&REV_1001\5&16725b03&0&0001
6 - Digital Display Audio (AMD High Definition Audio Device): HDAUDIO\FUNC_01&VEN_1002&DEV_AA01&SUBSYS_00AA0100&REV_1003\5&26f79751&0&0001
Bluetooth Hands-free Audio (2- Philips SHB7150 (Mono Audio)): BTHENUM\{0000111e-0000-1000-8000-00805f9b34fb}_VID&00010039_PID&13a4\7&20bcebf3&0&001E7C3BC213_C00000000
LG Ultra HD (2- NVIDIA High Definition Audio): HDAUDIO\FUNC_01&VEN_10DE&DEV_0071&SUBSYS_14583679&REV_1001\5&16725b03&0&0001
Bluetooth Audio Renderer (Philips SHB7150 (Stereo Audio)): BTHENUM\{0000110b-0000-1000-8000-00805f9b34fb}_VID&00010039_PID&13a4\7&282ba807&0&001E7C3BC213_C00000000
Speakers (Realtek High Definition Audio): HDAUDIO\FUNC_01&VEN_10EC&DEV_0900&SUBSYS_18491151&REV_1000\4&37605d4d&0&0001
Bluetooth Audio Renderer (2- Philips SHB7150 (Stereo Audio)): BTHENUM\{0000110b-0000-1000-8000-00805f9b34fb}_VID&00010039_PID&13a4\7&20bcebf3&0&001E7C3BC213_C00000000
2 - Digital Display Audio (AMD High Definition Audio Device): HDAUDIO\FUNC_01&VEN_1002&DEV_AA01&SUBSYS_00AA0100&REV_1003\5&26f79751&0&0001
Input Devices
Name: Group
Internal AUX Jack (AMD High Definition Audio Device): HDAUDIO\FUNC_01&VEN_1002&DEV_AA01&SUBSYS_00AA0100&REV_1003\5&26f79751&0&0001
Internal AUX Jack (2- NVIDIA High Definition Audio): HDAUDIO\FUNC_01&VEN_10DE&DEV_0071&SUBSYS_14583679&REV_1001\5&16725b03&0&0001
Internal AUX Jack (AMD High Definition Audio Device): HDAUDIO\FUNC_01&VEN_1002&DEV_AA01&SUBSYS_00AA0100&REV_1003\5&26f79751&0&0001
Subwoofer (Realtek High Definition Audio): HDAUDIO\FUNC_01&VEN_10EC&DEV_0900&SUBSYS_18491151&REV_1000\4&37605d4d&0&0001
Bluetooth Audio Input Device (Philips SHB7150 (Mono Audio)): BTHENUM\{0000111e-0000-1000-8000-00805f9b34fb}_VID&00010039_PID&13a4\7&282ba807&0&001E7C3BC213_C00000000
FrontMic (Realtek High Definition Audio): HDAUDIO\FUNC_01&VEN_10EC&DEV_0900&SUBSYS_18491151&REV_1000\4&37605d4d&0&0001
Microphone (Live! Cam Sync HD VF0770): USB\VID_041E&PID_4095&MI_02\6&26faed27&0&0002
Internal AUX Jack (NVIDIA High Definition Audio): HDAUDIO\FUNC_01&VEN_10DE&DEV_0071&SUBSYS_14583682&REV_1001\5&20386f47&0&0001
Internal AUX Jack (AMD High Definition Audio Device): HDAUDIO\FUNC_01&VEN_1002&DEV_AA01&SUBSYS_00AA0100&REV_1003\5&26f79751&0&0001
Bluetooth Audio Input Device (2- Philips SHB7150 (Mono Audio)): BTHENUM\{0000111e-0000-1000-8000-00805f9b34fb}_VID&00010039_PID&13a4\7&20bcebf3&0&001E7C3BC213_C00000000
Rear (Realtek High Definition Audio): HDAUDIO\FUNC_01&VEN_10EC&DEV_0900&SUBSYS_18491151&REV_1000\4&37605d4d&0&0001
Internal AUX Jack (AMD High Definition Audio Device): HDAUDIO\FUNC_01&VEN_1002&DEV_AA01&SUBSYS_00AA0100&REV_1003\5&26f79751&0&0001
Center (Realtek High Definition Audio): HDAUDIO\FUNC_01&VEN_10EC&DEV_0900&SUBSYS_18491151&REV_1000\4&37605d4d&0&0001
Internal AUX Jack (NVIDIA High Definition Audio): HDAUDIO\FUNC_01&VEN_10DE&DEV_0071&SUBSYS_14583682&REV_1001\5&20386f47&0&0001
Internal AUX Jack (2- NVIDIA High Definition Audio): HDAUDIO\FUNC_01&VEN_10DE&DEV_0071&SUBSYS_14583679&REV_1001\5&16725b03&0&0001
Internal AUX Jack (AMD High Definition Audio Device): HDAUDIO\FUNC_01&VEN_1002&DEV_AA01&SUBSYS_00AA0100&REV_1003\5&26f79751&0&0001
Side (Realtek High Definition Audio): HDAUDIO\FUNC_01&VEN_10EC&DEV_0900&SUBSYS_18491151&REV_1000\4&37605d4d&0&0001
Line In (Realtek High Definition Audio): HDAUDIO\FUNC_01&VEN_10EC&DEV_0900&SUBSYS_18491151&REV_1000\4&37605d4d&0&0001
Internal AUX Jack (NVIDIA High Definition Audio): HDAUDIO\FUNC_01&VEN_10DE&DEV_0071&SUBSYS_14583682&REV_1001\5&20386f47&0&0001
Line In (Realtek High Definition Audio): HDAUDIO\FUNC_01&VEN_10EC&DEV_0900&SUBSYS_18491151&REV_1000\4&37605d4d&0&0001
Microphone (Realtek High Definition Audio): HDAUDIO\FUNC_01&VEN_10EC&DEV_0900&SUBSYS_18491151&REV_1000\4&37605d4d&0&0001
Internal AUX Jack (2- NVIDIA High Definition Audio): HDAUDIO\FUNC_01&VEN_10DE&DEV_0071&SUBSYS_14583679&REV_1001\5&16725b03&0&0001
FrontMic (Realtek High Definition Audio): HDAUDIO\FUNC_01&VEN_10EC&DEV_0900&SUBSYS_18491151&REV_1000\4&37605d4d&0&0001
Internal AUX Jack (NVIDIA High Definition Audio): HDAUDIO\FUNC_01&VEN_10DE&DEV_0071&SUBSYS_14583682&REV_1001\5&20386f47&0&0001
Stereo Mix (Realtek High Definition Audio): HDAUDIO\FUNC_01&VEN_10EC&DEV_0900&SUBSYS_18491151&REV_1000\4&37605d4d&0&0001
Front (Realtek High Definition Audio): HDAUDIO\FUNC_01&VEN_10EC&DEV_0900&SUBSYS_18491151&REV_1000\4&37605d4d&0&0001
Internal AUX Jack (AMD High Definition Audio Device): HDAUDIO\FUNC_01&VEN_1002&DEV_AA01&SUBSYS_00AA0100&REV_1003\5&26f79751&0&0001
Microphone (Realtek High Definition Audio): HDAUDIO\FUNC_01&VEN_10EC&DEV_0900&SUBSYS_18491151&REV_1000\4&37605d4d&0&0001

Important Modified Preferences
------------------------------

accessibility.lastLoadDate: 1572897530
accessibility.loadedInLastSession: true
accessibility.typeaheadfind.flashBar: 0
browser.cache.disk.capacity: 358400
browser.cache.disk.filesystem_reported: 1
browser.cache.disk.smart_size.first_run: false
browser.cache.disk.smart_size.use_old_max: false
browser.cache.frecency_experiment: 2
browser.download.manager.alertOnEXEOpen: true
browser.places.smartBookmarksVersion: 8
browser.sessionstore.upgradeBackup.latestBuildID: MOZ_BUILDID
browser.startup.homepage_override.buildID: MOZ_BUILDID
browser.startup.homepage_override.mstone: 56.3
browser.tabs.insertRelatedAfterCurrent: false
browser.tabs.warnOnClose: false
browser.urlbar.lastSuggestionsPromptDate: 20180528
browser.urlbar.timesBeforeHidingSuggestionsHint: 0
dom.max_chrome_script_run_time: 0
extensions.lastAppVersion: 56.3
font.internaluseonly.changed: false
gfx.crash-guard.d3d11layers.appVersion: 56.3
gfx.crash-guard.d3d11layers.deviceID: 0x13c2
gfx.crash-guard.d3d11layers.driverVersion: 24.21.13.9836
gfx.crash-guard.d3d11layers.feature-d2d: true
gfx.crash-guard.d3d11layers.feature-d3d11: true
gfx.crash-guard.status.d3d11layers: 2
gfx.crash-guard.status.wmfvpxvideo: 2
gfx.crash-guard.wmfvpxvideo.appVersion: 56.3
gfx.crash-guard.wmfvpxvideo.deviceID: 0x13c2
gfx.crash-guard.wmfvpxvideo.driverVersion: 24.21.13.9836
layers.mlgpu.sanity-test-failed: false
media.benchmark.vp9.fps: 187
media.benchmark.vp9.versioncheck: 3
media.gmp-gmpopenh264.abi: x86_64-msvc-x64
media.gmp-gmpopenh264.lastUpdate: 1566426017
media.gmp-gmpopenh264.version: 1.8.1
media.gmp-manager.buildID: MOZ_BUILDID
media.gmp-manager.lastCheck: 1572897532
media.gmp.storage.version.observed: 1
media.hardware-video-decoding.failed: false
media.webrtc.debug.log_file: C:\TEMP\WebRTC.log
network.cookie.prefsMigrated: true
network.dns.disablePrefetch: true
network.http.speculative-parallel-limit: 0
network.predictor.enabled: false
network.prefetch-next: false
places.database.lastMaintenance: 1572297228
places.history.expiration.transient_current_max_pages: 133012
plugin.disable_full_page_plugin_for_types: application/pdf
security.sandbox.content.tempDirSuffix: {7b4e0e9d-51d8-471a-b33d-e0ab9125724b}
services.sync.declinedEngines:
storage.vacuum.last.index: 1
storage.vacuum.last.places.sqlite: 1571775145

Important Locked Preferences
----------------------------

Places Database
---------------

JavaScript
----------

Incremental GC: true

Accessibility
-------------

Activated: true
Prevent Accessibility: 0
Accessible Handler Used: true

Library Versions
----------------

NSPR
Expected minimum version: 4.16
Version in use: 4.16

NSS
Expected minimum version: 3.34
Version in use: 3.34

NSSSMIME
Expected minimum version: 3.34
Version in use: 3.34

NSSSSL
Expected minimum version: 3.34
Version in use: 3.34

NSSUTIL
Expected minimum version: 3.34
Version in use: 3.34

Experimental Features
---------------------

Sandbox
-------

Content Process Sandbox Level: 1
Effective Content Process Sandbox Level: 1
grahamperrin commented 5 years ago

Thanks. For starters:

Scripts/extensions

dom.max_chrome_script_run_time: 0

Reset that, if you can, to its default 20. At least for a while.

Can you recall what caused you to prefer forever? An extension, or combination of extensions, perhaps?

I prefer 30 and right now, I can't recall why :-)

Cache

browser.cache.disk.capacity: 358400

Again, reset that. At least for a while.

This advice may seem counter-intuitive, given the SSD, but in the past I sometimes found greater performance with less of a cache.

Extensions

1244 (thanks) we're aware of at least one issue involving TabGroups Manager revived, consider the possibility that a less easily identifiable problem with the extension has an effect on memory.

I imagine you shrinking at the prospect of working without good tab management, but if you can do so, for a while, it'll be good to know whether TabGroups Manager is a factor in this issue #1256.

Disable Tab Memory Usage. I rarely enable it; sometimes in the past with scores or hundreds of tabs I found that its presence had a detrimental effect. It's sometimes interesting to gain measurements at this level but in this case, let's exclude it as a possible factor.

(Note to self: was Tab Memory Usage the type of extension that caused me to fiddle with dom.max_chrome_script_run_time?)

More generally: https://www.reddit.com/r/waterfox/comments/93x02v/extension_conflict_troubleshooter/

JulianRagan commented 5 years ago

I can't recall when or why I modified script run time. I have set it to default 20. This profile is old, it may have been set even when FF 3.5 was still in use (if that parameter existed back then)

I also have no idea why I modified the cache, it was really long ago. Reset to default 256000. update It seems that browser.cache.disk.smart_size.enabled is by default set to true and (I am guessing, since none of my extensions even mention cache in options and I am not overriding cache size in options) it is resetting my cache size to 358400 whenever I open a new web page.

I have disabled both TabGroups Manager revived and Tab Memory Usage

Performance wise I see some improvement, memory management seems better, but then again, opening a window and opening tabs worth up to 6 gigs of RAM and then closing that window reduced memory down to 3 gigs, and while idle CPU activity was then acceptable (usually 0, but sometimes going 4%), it still spiked whenever I clicked the window (with one about:home tab).

I will do some experiments with activating only TabGropus or Tab Memory usage and report my experience again.

JulianRagan commented 5 years ago

I did some testing today and I think that TabGroups Manager revived affects memory management. Tab Memory Usage seemed not to affect memory management.

I will also do a test with both activated, since using only TabGroups Manager revived was not enough to cause the same level of performance loss and memory management issues.

If time allows I will also check behavior with script run time set back to infinite.

grahamperrin commented 4 years ago

At any time during an affected session, do you leave open either the browser console or the web console?

JulianRagan commented 4 years ago

No, I rarely use those.