Open Bug 1557537 Opened 5 years ago Updated 8 months ago

High memory usage when scrolling on Reddit

Categories

(Core :: Performance, defect, P2)

67 Branch
defect

Tracking

()

Performance Impact none
Tracking Status
firefox69 --- fix-optional
firefox70 --- fix-optional

People

(Reporter: kokispro1, Unassigned)

References

Details

(Whiteboard: [MemShrink:P3])

Attachments

(4 files)

Attached file memory-report.json.gz

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:67.0) Gecko/20100101 Firefox/67.0

Steps to reproduce:

Casual browsing/Watching twitch.tv.

Actual results:

The ram usage lingered around 1.5GBs and eventually climbed up to 4GBs

Expected results:

It should've stayed at 1GBs or lower.

Application Basics

Name: Firefox
Version: 67.0.1
Build ID: 20190529130856
Update Channel: release
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:67.0) Gecko/20100101 Firefox/67.0
OS: Windows_NT 10.0
Launcher Process: Disabled forcibly
Multiprocess Windows: 2/2 Enabled by default
Web Content Processes: 6/8
Enterprise Policies: Active
Google Location Service Key: Found
Google Safebrowsing Key: Found
Mozilla Location Service Key: Found
Safe Mode: false

Crash Reports

All Crash Reports Firefox Features

Name: Firefox Monitor
Version: 3.0
ID: fxmonitor@mozilla.org

Name: Firefox Screenshots
Version: 37.1.0
ID: screenshots@mozilla.org

Name: Form Autofill
Version: 1.0
ID: formautofill@mozilla.org

Name: Web Compat
Version: 4.0.0
ID: webcompat@mozilla.org

Name: WebCompat Reporter
Version: 1.1.0
ID: webcompat-reporter@mozilla.org

Extensions

Name: BetterTTV
Version: 7.0
Enabled: true
ID: firefox@betterttv.net

Name: Bitwarden - Free Password Manager
Version: 1.39.3
Enabled: true
ID: {446900e4-71c2-419f-a6a7-df9c091e268b}

Name: Twitch Chat Scroll FIX
Version: 0.1.3
Enabled: true
ID: twitchchatscrollfix@grue.addons.mozilla.org

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

Name: YouTube Channel Whitelist for uBlock Origin
Version: 0.7.12
Enabled: true
ID: {ea0ef8bb-6734-4970-b574-2099e836d636}

Security Software

Type: Bitdefender Antivirus Free Antimalware

Type: Bitdefender Antivirus Free Antimalware

Type: Windows Firewall

Graphics

Features
Compositing: Direct3D 11 (Advanced Layers)
asyncPanZoom: wheel input enabled; scrollbar drag enabled; keyboard enabled; autoscroll enabled
webgl1WSIInfo: EGL_VENDOR: Google Inc. (adapter LUID: 0000000000023afc) EGL_VERSION: 1.4 (ANGLE 2.1.0.eff6bfdb1db9) 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_ANGLE_direct_composition 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_stream_producer_d3d_texture EGL_ANGLE_create_context_webgl_compatibility EGL_CHROMIUM_create_context_bind_generates_resource EGL_CHROMIUM_sync_control EGL_EXT_pixel_format_float EGL_KHR_surfaceless_context EGL_ANGLE_display_texture_share_group EGL_ANGLE_create_context_client_arrays EGL_ANGLE_program_cache_control EGL_ANGLE_robust_resource_initialization EGL_ANGLE_create_context_extensions_enabled EGL_MOZ_create_context_provoking_vertex_dont_care 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 EGL_KHR_debug EGL_ANGLE_explicit_context
WebGL 1 Driver Renderer: Google Inc. -- ANGLE (Radeon RX 580 Series Direct3D11 vs_5_0 ps_5_0)
WebGL 1 Driver Version: OpenGL ES 2.0 (ANGLE 2.1.0.eff6bfdb1db9)
WebGL 1 Driver Extensions: GL_ANGLE_client_arrays GL_ANGLE_depth_texture GL_ANGLE_explicit_context GL_ANGLE_explicit_context_gles1 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_program_cache_control 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_color_buffer_float_rgb GL_CHROMIUM_color_buffer_float_rgba 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_compression_s3tc_srgb 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_KHR_parallel_shader_compile GL_KHR_robust_buffer_access_behavior 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_surfaceless_context 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 OES_compressed_EAC_R11_signed_texture OES_compressed_EAC_R11_unsigned_texture OES_compressed_EAC_RG11_signed_texture OES_compressed_EAC_RG11_unsigned_texture OES_compressed_ETC2_RGB8_texture OES_compressed_ETC2_RGBA8_texture OES_compressed_ETC2_punchthroughA_RGBA8_texture OES_compressed_ETC2_punchthroughA_sRGB8_alpha_texture OES_compressed_ETC2_sRGB8_alpha8_texture OES_compressed_ETC2_sRGB8_texture
WebGL 1 Extensions: ANGLE_instanced_arrays EXT_blend_minmax EXT_color_buffer_half_float EXT_disjoint_timer_query EXT_float_blend EXT_frag_depth EXT_shader_texture_lod EXT_sRGB EXT_texture_filter_anisotropic 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_compressed_texture_s3tc_srgb WEBGL_debug_renderer_info WEBGL_debug_shaders WEBGL_depth_texture WEBGL_draw_buffers WEBGL_lose_context
WebGL 2 Driver WSI Info: EGL_VENDOR: Google Inc. (adapter LUID: 0000000000023afc) EGL_VERSION: 1.4 (ANGLE 2.1.0.eff6bfdb1db9) 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_ANGLE_direct_composition 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_stream_producer_d3d_texture EGL_ANGLE_create_context_webgl_compatibility EGL_CHROMIUM_create_context_bind_generates_resource EGL_CHROMIUM_sync_control EGL_EXT_pixel_format_float EGL_KHR_surfaceless_context EGL_ANGLE_display_texture_share_group EGL_ANGLE_create_context_client_arrays EGL_ANGLE_program_cache_control EGL_ANGLE_robust_resource_initialization EGL_ANGLE_create_context_extensions_enabled EGL_MOZ_create_context_provoking_vertex_dont_care 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 EGL_KHR_debug EGL_ANGLE_explicit_context
WebGL 2 Driver Renderer: Google Inc. -- ANGLE (Radeon RX 580 Series Direct3D11 vs_5_0 ps_5_0)
WebGL 2 Driver Version: OpenGL ES 3.0 (ANGLE 2.1.0.eff6bfdb1db9)
WebGL 2 Driver Extensions: GL_ANGLE_client_arrays GL_ANGLE_depth_texture GL_ANGLE_explicit_context GL_ANGLE_explicit_context_gles1 GL_ANGLE_framebuffer_blit GL_ANGLE_framebuffer_multisample GL_ANGLE_instanced_arrays GL_ANGLE_lossy_etc_decode GL_ANGLE_multiview GL_ANGLE_pack_reverse_row_order GL_ANGLE_program_cache_control 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_color_buffer_float_rgb GL_CHROMIUM_color_buffer_float_rgba 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_compression_s3tc_srgb 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_KHR_parallel_shader_compile GL_KHR_robust_buffer_access_behavior 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_surfaceless_context 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 OES_compressed_EAC_R11_signed_texture OES_compressed_EAC_R11_unsigned_texture OES_compressed_EAC_RG11_signed_texture OES_compressed_EAC_RG11_unsigned_texture OES_compressed_ETC2_RGB8_texture OES_compressed_ETC2_RGBA8_texture OES_compressed_ETC2_punchthroughA_RGBA8_texture OES_compressed_ETC2_punchthroughA_sRGB8_alpha_texture OES_compressed_ETC2_sRGB8_alpha8_texture OES_compressed_ETC2_sRGB8_texture
WebGL 2 Extensions: EXT_color_buffer_float EXT_disjoint_timer_query EXT_float_blend EXT_texture_filter_anisotropic OES_texture_float_linear WEBGL_compressed_texture_s3tc WEBGL_compressed_texture_s3tc_srgb WEBGL_debug_renderer_info WEBGL_debug_shaders WEBGL_lose_context
Direct2D: true
Off Main Thread Painting Enabled: true
Off Main Thread Painting Worker Count: 4
Target Frame Rate: 144
DirectWrite: true (10.0.17763.168)
GPU #1
Active: Yes
Description: Radeon RX 580 Series
Vendor ID: 0x1002
Device ID: 0x67df
Driver Version: 26.20.11015.5009
Driver Date: 5-22-2019
Drivers: aticfx64 aticfx64 aticfx64 amdxc64 aticfx32 aticfx32 aticfx32 amdxc32 atiumd64 atidxx64 atidxx64 atiumdag atidxx32 atidxx32 atiumdva atiumd6a
Subsys ID: 00000000
RAM: 8192

Diagnostics
AzureCanvasBackend: direct2d 1.1
AzureCanvasBackend (UI Process): skia
AzureContentBackend: direct2d 1.1
AzureContentBackend (UI Process): skia
AzureFallbackCanvasBackend (UI Process): cairo
GPUProcessPid: 16632
ClearType Parameters: \.\DISPLAY1 [ Gamma: 1.8 Pixel Structure: RGB ClearType Level: 100 Enhanced Contrast: 50 ] \.\DISPLAY2 [ Gamma: 1.8 Pixel Structure: RGB ClearType Level: 100 Enhanced Contrast: 50 ]
Decision Log
WEBRENDER:
opt-in by default: WebRender is an opt-in feature
WEBRENDER_QUALIFIED:
blocked by env: Unsupported vendor

Failure Log
(#0): CP+[GFX1-]: [D2D1.1] 4CreateBitmap failure Size(16400,92) Code: 0x80070057 format 1
(#1): CP+[GFX1-]: [D2D1.1] 4CreateBitmap failure Size(16400,92) Code: 0x80070057 format 1
(#2): CP+[GFX1-]: [D2D1.1] 4CreateBitmap failure Size(16400,92) Code: 0x80070057 format 1
(#3): CP+[GFX1-]: [D2D1.1] 4CreateBitmap failure Size(16400,92) Code: 0x80070057 format 1
(#4): CP+[GFX1-]: [D2D1.1] 4CreateBitmap failure Size(16400,92) Code: 0x80070057 format 1
(#5): CP+[GFX1-]: [D2D1.1] 4CreateBitmap failure Size(16400,92) Code: 0x80070057 format 1
(#6): CP+[GFX1-]: [D2D1.1] 4CreateBitmap failure Size(16400,92) Code: 0x80070057 format 1
(#7): CP+[GFX1-]: [D2D1.1] 4CreateBitmap failure Size(16400,92) Code: 0x80070057 format 1

Media

Audio Backend: wasapi
Max Channels: 2
Preferred Sample Rate: 48000
Output Devices
Name: Group
:
Kaiuttimet (High Definition Audio -laite): HDAUDIO\FUNC_01&VEN_10EC&DEV_0887&SUBSYS_10438760&REV_1003\5&21ddae4f&0&0001
:
5 - Digital Display Audio (AMD High Definition Audio Device): HDAUDIO\FUNC_01&VEN_1002&DEV_AA01&SUBSYS_00AA0100&REV_1007\5&2f488aaa&1&0001
Kaiuttimet (4- ASUS Xonar DGX Audio Device): PCI\VEN_13F6&DEV_8788&SUBSYS_85211043&REV_00\7&20c6a803&0&200030020B
:
Digitaaliäänet (HDMI) (High Definition Audio -laite): HDAUDIO\FUNC_01&VEN_1002&DEV_AA01&SUBSYS_00AA0100&REV_1007\5&2f488aaa&1&0001
4 - Digital Display Audio (AMD High Definition Audio Device): HDAUDIO\FUNC_01&VEN_1002&DEV_AA01&SUBSYS_00AA0100&REV_1007\5&2f488aaa&1&0001
Kaiuttimet (2- ASUS Xonar DGX Audio Device): PCI\VEN_13F6&DEV_8788&SUBSYS_85211043&REV_00\7&d7b2f70&0&200008020B
2 - Digital Display Audio (AMD High Definition Audio Device): HDAUDIO\FUNC_01&VEN_1002&DEV_AA01&SUBSYS_00AA0100&REV_1007\5&2f488aaa&1&0001
Sisäinen AUX-liitäntä (High Definition Audio -laite): HDAUDIO\FUNC_01&VEN_10EC&DEV_0887&SUBSYS_10438760&REV_1003\5&21ddae4f&0&0001
:
2 - 32G1WG4 (AMD High Definition Audio Device): HDAUDIO\FUNC_01&VEN_1002&DEV_AA01&SUBSYS_00AA0100&REV_1007\5&2f488aaa&1&0001
2 - Digital Display Audio (AMD High Definition Audio Device):
Digitaaliäänet (HDMI) (High Definition Audio -laite): HDAUDIO\FUNC_01&VEN_1002&DEV_AA01&SUBSYS_00AA0100&REV_1007\5&2f488aaa&1&0001
Digitaalinen lähtö (2- ASUS Xonar DGX Audio Device): PCI\VEN_13F6&DEV_8788&SUBSYS_85211043&REV_00\7&d7b2f70&0&200008020B
Digitaaliäänet (HDMI) (High Definition Audio -laite): HDAUDIO\FUNC_01&VEN_1002&DEV_AA01&SUBSYS_00AA0100&REV_1007\5&2f488aaa&1&0001
6 - 27G1G4 (AMD High Definition Audio Device): HDAUDIO\FUNC_01&VEN_1002&DEV_AA01&SUBSYS_00AA0100&REV_1007\5&2f488aaa&1&0001
3 - Digital Display Audio (AMD High Definition Audio Device): HDAUDIO\FUNC_01&VEN_1002&DEV_AA01&SUBSYS_00AA0100&REV_1007\5&2f488aaa&1&0001
1 - KA241Y (AMD High Definition Audio Device): HDAUDIO\FUNC_01&VEN_1002&DEV_AA01&SUBSYS_00AA0100&REV_1007\5&2f488aaa&1&0001
3 - KA241Y (AMD High Definition Audio Device): HDAUDIO\FUNC_01&VEN_1002&DEV_AA01&SUBSYS_00AA0100&REV_1007\5&2f488aaa&1&0001
Realtek Digital Output (Realtek(R) Audio):
Sisäinen AUX-liitäntä (High Definition Audio -laite): HDAUDIO\FUNC_01&VEN_10EC&DEV_0887&SUBSYS_10438760&REV_1003\5&21ddae4f&0&0001
Sisäinen AUX-liitäntä (High Definition Audio -laite): HDAUDIO\FUNC_01&VEN_10EC&DEV_0887&SUBSYS_1458A182&REV_1003\4&42f4e46&0&0201
4 - KA241Y (AMD High Definition Audio Device): HDAUDIO\FUNC_01&VEN_1002&DEV_AA01&SUBSYS_00AA0100&REV_1007\5&2f488aaa&1&0001
1 - Digital Display Audio (AMD High Definition Audio Device): HDAUDIO\FUNC_01&VEN_1002&DEV_AA01&SUBSYS_00AA0100&REV_1007\5&2f488aaa&1&0001
5 - 27G1G4 (AMD High Definition Audio Device): HDAUDIO\FUNC_01&VEN_1002&DEV_AA01&SUBSYS_00AA0100&REV_1007\5&2f488aaa&1&0001
Digitaalinen lähtö (ASUS Xonar DGX Audio Device): PCI\VEN_13F6&DEV_8788&SUBSYS_85211043&REV_00\5&2823b2af&0&2000E1
Kaiuttimet (ASUS Xonar DGX Audio Device): PCI\VEN_13F6&DEV_8788&SUBSYS_85211043&REV_00\5&2823b2af&0&2000E1
Kaiuttimet (Realtek(R) Audio):
Kaiuttimet (High Definition Audio -laite): HDAUDIO\FUNC_01&VEN_10EC&DEV_0887&SUBSYS_1458A182&REV_1003\4&42f4e46&0&0201
6 - 27G1G4 (AMD High Definition Audio Device):
Digitaalinen lähtö (4- ASUS Xonar DGX Audio Device): PCI\VEN_13F6&DEV_8788&SUBSYS_85211043&REV_00\7&20c6a803&0&200030020B
Digitaaliäänet (HDMI) (High Definition Audio -laite): HDAUDIO\FUNC_01&VEN_8086&DEV_2807&SUBSYS_80860101&REV_1000\4&1793e418&0&0001
Digitaaliäänet (HDMI) (High Definition Audio -laite): HDAUDIO\FUNC_01&VEN_1002&DEV_AA01&SUBSYS_00AA0100&REV_1007\5&2f488aaa&1&0001
Kuulokkeet (High Definition Audio -laite): HDAUDIO\FUNC_01&VEN_10EC&DEV_0887&SUBSYS_10438760&REV_1003\5&21ddae4f&0&0001
Kaiuttimet (Realtek High Definition Audio): HDAUDIO\FUNC_01&VEN_10EC&DEV_0887&SUBSYS_1458A182&REV_1003\4&42f4e46&0&0201
:
Kaiuttimet (3- ASUS Xonar DGX Audio Device): PCI\VEN_13F6&DEV_8788&SUBSYS_85211043&REV_00\7&624394f&0&200038020B
Digitaaliäänet (SPDIF) (High Definition Audio -laite): HDAUDIO\FUNC_01&VEN_10EC&DEV_0887&SUBSYS_10438760&REV_1003\5&21ddae4f&0&0001
Kuulokkeet (High Definition Audio -laite): HDAUDIO\FUNC_01&VEN_10EC&DEV_0887&SUBSYS_1458A182&REV_1003\4&42f4e46&0&0201
Digitaaliäänet (HDMI) (High Definition Audio -laite): HDAUDIO\FUNC_01&VEN_1002&DEV_AA01&SUBSYS_00AA0100&REV_1007\5&2f488aaa&1&0001
Sisäinen AUX-liitäntä (High Definition Audio -laite): HDAUDIO\FUNC_01&VEN_10EC&DEV_0887&SUBSYS_1458A182&REV_1003\4&42f4e46&0&0201
5 - 27G1G4 (AMD High Definition Audio Device):
Realtek Digital Output (Realtek High Definition Audio): HDAUDIO\FUNC_01&VEN_10EC&DEV_0887&SUBSYS_1458A182&REV_1003\4&42f4e46&0&0201
6 - VG248 (AMD High Definition Audio Device):
Digitaalinen lähtö (3- ASUS Xonar DGX Audio Device): PCI\VEN_13F6&DEV_8788&SUBSYS_85211043&REV_00\7&624394f&0&200038020B
6 - Digital Display Audio (AMD High Definition Audio Device): HDAUDIO\FUNC_01&VEN_1002&DEV_AA01&SUBSYS_00AA0100&REV_1007\5&2f488aaa&1&0001
Digitaaliäänet (SPDIF) (High Definition Audio -laite): HDAUDIO\FUNC_01&VEN_10EC&DEV_0887&SUBSYS_1458A182&REV_1003\4&42f4e46&0&0201
2 - 32G1WG4 (AMD High Definition Audio Device): HDAUDIO\FUNC_01&VEN_1002&DEV_AA01&SUBSYS_00AA0100&REV_1007\5&2f488aaa&1&0001
Input Devices
Name: Group
Mikrofoni (High Definition Audio -laite): HDAUDIO\FUNC_01&VEN_10EC&DEV_0887&SUBSYS_1458A182&REV_1003\4&42f4e46&0&0201
Center (Realtek(R) Audio):
Mikrofoni (High Definition Audio -laite): HDAUDIO\FUNC_01&VEN_10EC&DEV_0887&SUBSYS_10438760&REV_1003\5&21ddae4f&0&0001
Rear Green In (Realtek High Definition Audio): HDAUDIO\FUNC_01&VEN_10EC&DEV_0887&SUBSYS_1458A182&REV_1003\4&42f4e46&0&0201
Stereo Mix (2- ASUS Xonar DGX Audio Device): PCI\VEN_13F6&DEV_8788&SUBSYS_85211043&REV_00\7&d7b2f70&0&200008020B
Linjatulo (Realtek High Definition Audio): HDAUDIO\FUNC_01&VEN_10EC&DEV_0887&SUBSYS_1458A182&REV_1003\4&42f4e46&0&0201
Wave (4- ASUS Xonar DGX Audio Device): PCI\VEN_13F6&DEV_8788&SUBSYS_85211043&REV_00\7&20c6a803&0&200030020B
Sisäinen AUX-liitäntä (AMD High Definition Audio Device): HDAUDIO\FUNC_01&VEN_1002&DEV_AA01&SUBSYS_00AA0100&REV_1007\5&2f488aaa&1&0001
Sisäinen AUX-liitäntä (High Definition Audio -laite): HDAUDIO\FUNC_01&VEN_8086&DEV_2807&SUBSYS_80860101&REV_1000\4&1793e418&0&0001
Stereo Mix (Realtek High Definition Audio): HDAUDIO\FUNC_01&VEN_10EC&DEV_0887&SUBSYS_1458A182&REV_1003\4&42f4e46&0&0201
Mikrofoni (Realtek(R) Audio):
Wave (ASUS Xonar DGX Audio Device): PCI\VEN_13F6&DEV_8788&SUBSYS_85211043&REV_00\5&2823b2af&0&2000E1
Sisäinen AUX-liitäntä (High Definition Audio -laite): HDAUDIO\FUNC_01&VEN_10EC&DEV_0887&SUBSYS_1458A182&REV_1003\4&42f4e46&0&0201
Linjatulo (3- ASUS Xonar DGX Audio Device): PCI\VEN_13F6&DEV_8788&SUBSYS_85211043&REV_00\7&624394f&0&200038020B
Front Green In (Realtek High Definition Audio): HDAUDIO\FUNC_01&VEN_10EC&DEV_0887&SUBSYS_1458A182&REV_1003\4&42f4e46&0&0201
Front (Realtek(R) Audio):
Mikrofoni (Realtek USB2.0 MIC): USB\VID_0BDA&PID_5822&MI_02\7&832fcba&0&0002
Sisäinen AUX-liitäntä (High Definition Audio -laite): HDAUDIO\FUNC_01&VEN_1002&DEV_AA01&SUBSYS_00AA0100&REV_1007\5&2f488aaa&1&0001
Front Pink In (Realtek High Definition Audio): HDAUDIO\FUNC_01&VEN_10EC&DEV_0887&SUBSYS_1458A182&REV_1003\4&42f4e46&0&0201
Sisäinen AUX-liitäntä (AMD High Definition Audio Device): HDAUDIO\FUNC_01&VEN_1002&DEV_AA01&SUBSYS_00AA0100&REV_1007\5&2f488aaa&1&0001
Stereo Mix (4- ASUS Xonar DGX Audio Device): PCI\VEN_13F6&DEV_8788&SUBSYS_85211043&REV_00\7&20c6a803&0&200030020B
Side (Realtek High Definition Audio): HDAUDIO\FUNC_01&VEN_10EC&DEV_0887&SUBSYS_1458A182&REV_1003\4&42f4e46&0&0201
Aux (2- ASUS Xonar DGX Audio Device): PCI\VEN_13F6&DEV_8788&SUBSYS_85211043&REV_00\7&d7b2f70&0&200008020B
Linjatulo (High Definition Audio -laite): HDAUDIO\FUNC_01&VEN_10EC&DEV_0887&SUBSYS_1458A182&REV_1003\4&42f4e46&0&0201
Front Green In (Realtek(R) Audio):
Rear Pink In (Realtek High Definition Audio): HDAUDIO\FUNC_01&VEN_10EC&DEV_0887&SUBSYS_1458A182&REV_1003\4&42f4e46&0&0201
Stereo Mix (ASUS Xonar DGX Audio Device): PCI\VEN_13F6&DEV_8788&SUBSYS_85211043&REV_00\5&2823b2af&0&2000E1
Mikrofoni (Realtek High Definition Audio): HDAUDIO\FUNC_01&VEN_10EC&DEV_0887&SUBSYS_1458A182&REV_1003\4&42f4e46&0&0201
Wave (2- ASUS Xonar DGX Audio Device): PCI\VEN_13F6&DEV_8788&SUBSYS_85211043&REV_00\7&d7b2f70&0&200008020B
Sisäinen AUX-liitäntä (High Definition Audio -laite): HDAUDIO\FUNC_01&VEN_10EC&DEV_0887&SUBSYS_10438760&REV_1003\5&21ddae4f&0&0001
Subwoofer (Realtek(R) Audio):
Sisäinen AUX-liitäntä (High Definition Audio -laite): HDAUDIO\FUNC_01&VEN_1002&DEV_AA01&SUBSYS_00AA0100&REV_1007\5&2f488aaa&1&0001
Linjatulo (High Definition Audio -laite): HDAUDIO\FUNC_01&VEN_10EC&DEV_0887&SUBSYS_10438760&REV_1003\5&21ddae4f&0&0001
Linjatulo (4- ASUS Xonar DGX Audio Device): PCI\VEN_13F6&DEV_8788&SUBSYS_85211043&REV_00\7&20c6a803&0&200030020B
Sisäinen AUX-liitäntä (High Definition Audio -laite): HDAUDIO\FUNC_01&VEN_10EC&DEV_0887&SUBSYS_1458A182&REV_1003\4&42f4e46&0&0201
Sisäinen AUX-liitäntä (High Definition Audio -laite): HDAUDIO\FUNC_01&VEN_10EC&DEV_0887&SUBSYS_10438760&REV_1003\5&21ddae4f&0&0001
Mikrofoni (2- ASUS Xonar DGX Audio Device): PCI\VEN_13F6&DEV_8788&SUBSYS_85211043&REV_00\7&d7b2f70&0&200008020B
Linjatulo (ASUS Xonar DGX Audio Device): PCI\VEN_13F6&DEV_8788&SUBSYS_85211043&REV_00\5&2823b2af&0&2000E1
Sisäinen AUX-liitäntä (High Definition Audio -laite): HDAUDIO\FUNC_01&VEN_1002&DEV_AA01&SUBSYS_00AA0100&REV_1007\5&2f488aaa&1&0001
Stereo Mix (Realtek(R) Audio):
Mikrofoni (ASUS Xonar DGX Audio Device): PCI\VEN_13F6&DEV_8788&SUBSYS_85211043&REV_00\5&2823b2af&0&2000E1
Sisäinen AUX-liitäntä (AMD High Definition Audio Device): HDAUDIO\FUNC_01&VEN_1002&DEV_AA01&SUBSYS_00AA0100&REV_1007\5&2f488aaa&1&0001
Linjatulo (Realtek(R) Audio):
Wave (3- ASUS Xonar DGX Audio Device): PCI\VEN_13F6&DEV_8788&SUBSYS_85211043&REV_00\7&624394f&0&200038020B
Aux (4- ASUS Xonar DGX Audio Device): PCI\VEN_13F6&DEV_8788&SUBSYS_85211043&REV_00\7&20c6a803&0&200030020B
Mikrofoni (Realtek(R) Audio):
Mikrofoni (High Definition Audio -laite): HDAUDIO\FUNC_01&VEN_10EC&DEV_0887&SUBSYS_1458A182&REV_1003\4&42f4e46&0&0201
Mikrofoni (4- ASUS Xonar DGX Audio Device): PCI\VEN_13F6&DEV_8788&SUBSYS_85211043&REV_00\7&20c6a803&0&200030020B
Front Pink In (Realtek(R) Audio):
Center (Realtek High Definition Audio): HDAUDIO\FUNC_01&VEN_10EC&DEV_0887&SUBSYS_1458A182&REV_1003\4&42f4e46&0&0201
Rear Blue In (Realtek High Definition Audio): HDAUDIO\FUNC_01&VEN_10EC&DEV_0887&SUBSYS_1458A182&REV_1003\4&42f4e46&0&0201
Linjatulo (2- ASUS Xonar DGX Audio Device): PCI\VEN_13F6&DEV_8788&SUBSYS_85211043&REV_00\7&d7b2f70&0&200008020B
Rear (Realtek High Definition Audio): HDAUDIO\FUNC_01&VEN_10EC&DEV_0887&SUBSYS_1458A182&REV_1003\4&42f4e46&0&0201
Subwoofer (Realtek High Definition Audio): HDAUDIO\FUNC_01&VEN_10EC&DEV_0887&SUBSYS_1458A182&REV_1003\4&42f4e46&0&0201
Aux (3- ASUS Xonar DGX Audio Device): PCI\VEN_13F6&DEV_8788&SUBSYS_85211043&REV_00\7&624394f&0&200038020B
Rear (Realtek(R) Audio):
Mikrofoni (High Definition Audio -laite): HDAUDIO\FUNC_01&VEN_10EC&DEV_0887&SUBSYS_10438760&REV_1003\5&21ddae4f&0&0001
Side (Realtek(R) Audio):
Mikrofoni (Live! Cam Chat HD VF0790): USB\VID_041E&PID_4097&MI_02\6&12a9e6b4&0&0002
Front (Realtek High Definition Audio): HDAUDIO\FUNC_01&VEN_10EC&DEV_0887&SUBSYS_1458A182&REV_1003\4&42f4e46&0&0201
Sisäinen AUX-liitäntä (AMD High Definition Audio Device): HDAUDIO\FUNC_01&VEN_1002&DEV_AA01&SUBSYS_00AA0100&REV_1007\5&2f488aaa&1&0001
Sisäinen AUX-liitäntä (AMD High Definition Audio Device): HDAUDIO\FUNC_01&VEN_1002&DEV_AA01&SUBSYS_00AA0100&REV_1007\5&2f488aaa&1&0001
Aux (ASUS Xonar DGX Audio Device): PCI\VEN_13F6&DEV_8788&SUBSYS_85211043&REV_00\5&2823b2af&0&2000E1
Mikrofoni (3- ASUS Xonar DGX Audio Device): PCI\VEN_13F6&DEV_8788&SUBSYS_85211043&REV_00\7&624394f&0&200038020B
:
Sisäinen AUX-liitäntä (AMD High Definition Audio Device): HDAUDIO\FUNC_01&VEN_1002&DEV_AA01&SUBSYS_00AA0100&REV_1007\5&2f488aaa&1&0001
Stereo Mix (3- ASUS Xonar DGX Audio Device): PCI\VEN_13F6&DEV_8788&SUBSYS_85211043&REV_00\7&624394f&0&200038020B
Linjatulo (Realtek(R) Audio):

Important Modified Preferences

accessibility.typeaheadfind.flashBar: 0
browser.cache.disk.capacity: 1048576
browser.cache.disk.filesystem_reported: 1
browser.cache.disk.hashstats_reported: 1
browser.cache.disk.smart_size.first_run: false
browser.sessionstore.upgradeBackup.latestBuildID: 20190529130856
browser.startup.homepage: about:blank
browser.startup.homepage_override.buildID: 20190529130856
browser.startup.homepage_override.mstone: 67.0.1
browser.urlbar.placeholderName: Google
browser.urlbar.timesBeforeHidingSuggestionsHint: 0
dom.push.userAgentID: 3ae9e49bacda453a8a20226c8fb2fdfe
extensions.lastAppVersion: 67.0.1
font.internaluseonly.changed: true
gfx.crash-guard.status.wmfvpxvideo: 2
gfx.crash-guard.wmfvpxvideo.appVersion: 67.0.1
gfx.crash-guard.wmfvpxvideo.deviceID: 0x67df
gfx.crash-guard.wmfvpxvideo.driverVersion: 26.20.11015.5009
idle.lastDailyNotification: 1559854962
layers.mlgpu.sanity-test-failed: false
media.benchmark.vp9.fps: 279
media.benchmark.vp9.versioncheck: 5
media.gmp-gmpopenh264.abi: x86_64-msvc-x64
media.gmp-gmpopenh264.lastUpdate: 1559675664
media.gmp-gmpopenh264.version: 1.8.1
media.gmp-manager.buildID: 20190529130856
media.gmp-manager.lastCheck: 1559822493
media.gmp-widevinecdm.abi: x86_64-msvc-x64
media.gmp-widevinecdm.lastUpdate: 1559675665
media.gmp-widevinecdm.version: 4.10.1146.0
media.gmp.storage.version.observed: 1
media.hardware-video-decoding.failed: false
network.cookie.cookieBehavior: 4
network.dns.disablePrefetch: true
network.http.speculative-parallel-limit: 0
network.predictor.cleaned-up: true
network.predictor.enabled: false
network.prefetch-next: false
places.database.lastMaintenance: 1559676074
places.history.expiration.transient_current_max_pages: 48516
plugin.disable_full_page_plugin_for_types: application/pdf
privacy.donottrackheader.enabled: true
privacy.sanitize.pending: [{"id":"newtab-container","itemsToClear":[],"options":{}}]
privacy.trackingprotection.enabled: true
security.remote_settings.intermediates.checked: 1559837465
security.sandbox.content.tempDirSuffix: {2fae5dda-e8fc-4967-9021-af9451dd17cc}
security.sandbox.plugin.tempDirSuffix: {587e3a69-b2e5-4f70-ba01-b0fda7a68d40}
services.sync.declinedEngines:
services.sync.engine.prefs.modified: false
services.sync.lastPing: 1559851008
services.sync.lastSync: Fri Jun 07 2019 00:57:01 GMT+0300 (Eastern European Summer Time)
signon.importedFromSqlite: true
storage.vacuum.last.index: 1
storage.vacuum.last.places.sqlite: 1559676074
ui.osk.debug.keyboardDisplayReason: IKPOS: Touch screen not found.

Important Locked Preferences

Places Database

JavaScript

Incremental GC: true

Accessibility

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

Library Versions

NSPR
Expected minimum version: 4.21
Version in use: 4.21

NSS
Expected minimum version: 3.43
Version in use: 3.43

NSSSMIME
Expected minimum version: 3.43
Version in use: 3.43

NSSSSL
Expected minimum version: 3.43
Version in use: 3.43

NSSUTIL
Expected minimum version: 3.43
Version in use: 3.43

Sandbox

Content Process Sandbox Level: 5
Effective Content Process Sandbox Level: 5

Internationalization & Localization

Application Settings
Requested Locales: ["en-US"]
Available Locales: ["en-US"]
App Locales: ["en-US"]
Regional Preferences: ["en-US"]
Default Locale: "en-US"
Operating System
System Locales: ["en-US"]
Regional Preferences: ["en-US"]

Not a security issue that needs to stay hidden.

Group: firefox-core-security

Hi kokispro1!
I was unable to reproduce it with latest Nightly 69.0a1 (2019-06-12).

Could you please try to retest this on the latest Nightly Version?
You can download to https://www.mozilla.org/en-US/firefox/nightly/all/

Besides that, can you send us more details, like a video name or if you are login or not into account.

Flags: needinfo?(kokispro1)

I'd like to clarify that the ram usage goes up after scrolling reddit for a while and this also happened on Nightly.

Flags: needinfo?(kokispro1)

I was able to reproduce this issue scrolling reddit for a while on the latest Nightly 69.0a1 (2019-06-18).

Status: UNCONFIRMED → NEW
Component: Untriaged → Performance Monitoring
Ever confirmed: true
Product: Firefox → Toolkit
Component: Performance Monitoring → Untriaged
Product: Toolkit → Firefox
Whiteboard: [MemShrink]
Component: Untriaged → Performance
Product: Firefox → Core

Marcela, can you retrieve a memory report when this happens on Reddit?

Flags: needinfo?(marcela.calderon)
Summary: Tremendous RAM usage → High memory usage when scrolling on Reddit

Hi Eric, I´ve attached a Memory report file

Flags: needinfo?(marcela.calderon) → needinfo?(erahm)

There's a lot of memory going on here. Reddit is loading a lot of nested windows, we're seeing most of the memory in JS , media, and images.

1,658.21 MB (100.0%) -- explicit
├────858.72 MB (51.79%) -- window-objects
│    ├──857.90 MB (51.74%) -- top(https://www.reddit.com/, id=4294967299)
│    │  ├──677.63 MB (40.87%) -- active
│    │  │  ├──549.07 MB (33.11%) -- window(https://www.reddit.com/)
│    │  │  │  ├──507.74 MB (30.62%) -- js-realm(https://www.reddit.com/)
│    │  │  │  │  ├──475.98 MB (28.70%) -- classes
│    │  │  │  │  │  ├──266.66 MB (16.08%) -- class(Object)/objects
│    │  │  │  │  │  │  ├──157.54 MB (09.50%) ── gc-heap
│    │  │  │  │  │  │  └──109.11 MB (06.58%) -- malloc-heap
│    │  │  │  │  │  │     ├──108.89 MB (06.57%) ── slots
│    │  │  │  │  │  │     └────0.22 MB (00.01%) ── elements/normal
│    │  │  │  │  │  ├───58.31 MB (03.52%) ++ class(Function)/objects
│    │  │  │  │  │  ├───42.40 MB (02.56%) ++ class(Arguments)/objects
│    │  │  │  │  │  ├───30.92 MB (01.86%) ++ class(Call)/objects
│    │  │  │  │  │  ├───27.46 MB (01.66%) ++ class(Array)/objects
│    │  │  │  │  │  ├───27.17 MB (01.64%) ++ class(ArrayBuffer)/objects
│    │  │  │  │  │  └───23.07 MB (01.39%) -- (20 tiny)
│    │  │  │  │  │      ├──12.77 MB (00.77%) ++ class(Iterator)/objects
│    │  │  │  │  │      ├───2.72 MB (00.16%) ++ class(HTMLDivElement)/objects
│    │  │  │  │  │      ├───1.55 MB (00.09%) ++ class(LexicalEnvironment)/objects
│    │  │  │  │  │      ├───1.40 MB (00.08%) ── class(SavedFrame)/objects/gc-heap
│    │  │  │  │  │      ├───0.92 MB (00.06%) ── class(Date)/objects/gc-heap
│    │  │  │  │  │      ├───0.80 MB (00.05%) ++ class(HTMLSpanElement)/objects
│    │  │  │  │  │      ├───0.58 MB (00.03%) ++ class(HTMLElement)/objects
│    │  │  │  │  │      ├───0.57 MB (00.03%) ++ class(HTMLButtonElement)/objects
│    │  │  │  │  │      ├───0.53 MB (00.03%) ++ class(HTMLAnchorElement)/objects
│    │  │  │  │  │      ├───0.18 MB (00.01%) ── class(Text)/objects/gc-heap
│    │  │  │  │  │      ├───0.18 MB (00.01%) ++ class(<non-notable classes>)/objects
│    │  │  │  │  │      ├───0.16 MB (00.01%) ++ class(HTMLImageElement)/objects
│    │  │  │  │  │      ├───0.14 MB (00.01%) ++ class(SVGGElement)/objects
│    │  │  │  │  │      ├───0.13 MB (00.01%) ++ class(SVGPathElement)/objects
│    │  │  │  │  │      ├───0.12 MB (00.01%) ++ class(SVGSVGElement)/objects
│    │  │  │  │  │      ├───0.10 MB (00.01%) ++ class(RegExp)/objects
│    │  │  │  │  │      ├───0.08 MB (00.00%) ── class(With)/objects/gc-heap
│    │  │  │  │  │      ├───0.07 MB (00.00%) ++ class(HTMLHeadingElement)/objects
│    │  │  │  │  │      ├───0.07 MB (00.00%) ── class(ScriptSource)/objects/gc-heap
│    │  │  │  │  │      └───0.02 MB (00.00%) ++ class(HTMLParagraphElement)/objects
│    │  │  │  │  ├───21.61 MB (01.30%) -- baseline
│    │  │  │  │  │   ├──19.51 MB (01.18%) ── fallback-stubs
│    │  │  │  │  │   └───2.10 MB (00.13%) ── data
│    │  │  │  │  └───10.15 MB (00.61%) ++ (10 tiny)
│    │  │  │  ├───33.11 MB (02.00%) -- dom
│    │  │  │  │   ├──29.56 MB (01.78%) ── element-nodes
│    │  │  │  │   └───3.56 MB (00.21%) ++ (6 tiny)
│    │  │  │  └────8.22 MB (00.50%) ++ (3 tiny)
│    │  │  └──128.56 MB (07.75%) -- (54 tiny)
│    │  │     ├────7.11 MB (00.43%) ++ window(https://gfycat.com/ifr/unpleasantbarrenalabamamapturtle?referrer=https%3A%2F%2Fwww.redditmedia.com%2Fmediaembed%2Fc62ura%3Fresponsive%3Dtrue)
│    │  │     ├────6.94 MB (00.42%) ++ window(https://gfycat.com/ifr/ickyportlyhydatidtapeworm?referrer=https%3A%2F%2Fwww.redditmedia.com%2Fmediaembed%2Fc0fdo8%3Fresponsive%3Dtrue)
│    │  │     ├────5.19 MB (00.31%) ++ window(https://gfycat.com/ifr/equalimpassionedalabamamapturtle?referrer=https%3A%2F%2Fwww.redditmedia.com%2Fmediaembed%2Fc5u4fv%3Fresponsive%3Dtrue)
│    │  │     ├────5.18 MB (00.31%) ++ window(https://gfycat.com/ifr/naughtymarvelouskitfox?referrer=https%3A%2F%2Fwww.redditmedia.com%2Fmediaembed%2Fc5y276%3Fresponsive%3Dtrue)
│    │  │     ├────5.16 MB (00.31%) ++ window(https://gfycat.com/ifr/yawningconsciousafricanfisheagle?referrer=https%3A%2F%2Fwww.redditmedia.com%2Fmediaembed%2Fc5xorg%3Fresponsive%3Dtrue)
│    │  │     ├────5.14 MB (00.31%) ++ window(https://gfycat.com/ifr/constantgraveachillestang?referrer=https%3A%2F%2Fwww.redditmedia.com%2Fmediaembed%2Fc5t5m6%3Fresponsive%3Dtrue)
│    │  │     ├────5.08 MB (00.31%) ++ window(https://gfycat.com/ifr/glossyunselfishacaciarat?referrer=https%3A%2F%2Fwww.redditmedia.com%2Fmediaembed%2Fbc5zcc%3Fresponsive%3Dtrue)
│    │  │     ├────5.07 MB (00.31%) ++ window(https://gfycat.com/ifr/partialoilygerbil?referrer=https%3A%2F%2Fwww.redditmedia.com%2Fmediaembed%2Fc5qswt%3Fresponsive%3Dtrue)
│    │  │     ├────5.06 MB (00.31%) ++ window(https://gfycat.com/ifr/academicfluidafricanhornbill?referrer=https%3A%2F%2Fwww.redditmedia.com%2Fmediaembed%2Fc63mdi%3Fresponsive%3Dtrue)
│    │  │     ├────5.05 MB (00.30%) ++ window(https://gfycat.com/ifr/everlastingaffectionatebluet?referrer=https%3A%2F%2Fwww.redditmedia.com%2Fmediaembed%2Fc5wd49%3Fresponsive%3Dtrue)
│    │  │     ├────5.02 MB (00.30%) ++ window(https://gfycat.com/ifr/concretehelplessibis?referrer=https%3A%2F%2Fwww.redditmedia.com%2Fmediaembed%2Fc644qn%3Fresponsive%3Dtrue)
│    │  │     ├────4.99 MB (00.30%) ++ window(https://www.youtube.com/embed/cet0NEmOR24?feature=oembed&enablejsapi=1)
│    │  │     ├────4.98 MB (00.30%) ++ window(https://www.youtube.com/embed/3Gh7L6A8I2w?feature=oembed&enablejsapi=1)
│    │  │     ├────4.98 MB (00.30%) ++ window(https://www.youtube.com/embed/qpT79Rlg6Iw?feature=oembed&enablejsapi=1)
│    │  │     ├────4.95 MB (00.30%) ++ window(https://www.youtube.com/embed/MjaBaNk0nzQ?feature=oembed&enablejsapi=1)
│    │  │     ├────4.94 MB (00.30%) ++ window(https://www.youtube.com/embed/guQUP7MPOig?feature=oembed&enablejsapi=1)
│    │  │     ├────4.87 MB (00.29%) ++ window(https://www.youtube.com/embed/bDklsHum92w?feature=oembed&enablejsapi=1)
│    │  │     ├────4.85 MB (00.29%) ++ window(https://www.youtube.com/embed/Cb9VM8zF93Q?feature=oembed&enablejsapi=1)
│    │  │     ├────3.79 MB (00.23%) ++ window(https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fstreamable.com%2Fo%2F51mqw&url=https%3A%2F%2Fstreamable.com%2F51mqw&image=https%3A%2F%2Fcdn-b-east.streamable.com%2Fimage%2F51mqw.jpg%3Ftoken%3DgGvQTRT__pclNGxaBmgvdQ%26expires%3D1561602060&key=2aa3c4d5f3de4f5b9120b660ad850dc9&type=text%2Fhtml&schema=streamable)
│    │  │     ├────2.60 MB (00.16%) ++ window(https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fgfycat.com%2Fifr%2Funpleasantbarrenalabamamapturtle&url=https%3A%2F%2Fgfycat.com%2Funpleasantbarrenalabamamapturtle-fields-of-freedom-friendsnotfood&image=https%3A%2F%2Fthumbs.gfycat.com%2FUnpleasantBarrenAlabamamapturtle-size_restricted.gif&key=ed8fa8699ce04833838e66ce79ba05f1&type=text%2Fhtml&schema=gfycat)
│    │  │     ├────2.44 MB (00.15%) ++ window(https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fgfycat.com%2Fifr%2Fickyportlyhydatidtapeworm&url=https%3A%2F%2Fgfycat.com%2Fickyportlyhydatidtapeworm-oxford-university-scientific-society&image=https%3A%2F%2Fthumbs.gfycat.com%2FIckyPortlyHydatidtapeworm-size_restricted.gif&key=ed8fa8699ce04833838e66ce79ba05f1&type=text%2Fhtml&schema=gfycat)
│    │  │     ├────2.20 MB (00.13%) ++ window(https://streamable.com/o/51mqw?referrer=https%3A%2F%2Fwww.redditmedia.com%2Fmediaembed%2Fc5yhqb)
│    │  │     ├────1.92 MB (00.12%) ++ window(https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fgfycat.com%2Fifr%2Facademicfluidafricanhornbill&url=https%3A%2F%2Fgfycat.com%2Facademicfluidafricanhornbill-cat&image=https%3A%2F%2Fthumbs.gfycat.com%2FAcademicFluidAfricanhornbill-size_restricted.gif&key=ed8fa8699ce04833838e66ce79ba05f1&type=text%2Fhtml&schema=gfycat)
│    │  │     ├────1.92 MB (00.12%) ++ window(https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fgfycat.com%2Fifr%2Fglossyunselfishacaciarat&url=https%3A%2F%2Fgfycat.com%2Fglossyunselfishacaciarat&image=https%3A%2F%2Fthumbs.gfycat.com%2FGlossyUnselfishAcaciarat-size_restricted.gif&key=ed8fa8699ce04833838e66ce79ba05f1&type=text%2Fhtml&schema=gfycat)
│    │  │     ├────1.92 MB (00.12%) ++ window(https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fgfycat.com%2Fifr%2Fconstantgraveachillestang&url=https%3A%2F%2Fgfycat.com%2Fconstantgraveachillestang&image=https%3A%2F%2Fthumbs.gfycat.com%2FConstantGraveAchillestang-size_restricted.gif&key=ed8fa8699ce04833838e66ce79ba05f1&type=text%2Fhtml&schema=gfycat)
│    │  │     ├────1.91 MB (00.12%) ++ window(https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fgfycat.com%2Fifr%2Feverlastingaffectionatebluet&url=https%3A%2F%2Fgfycat.com%2Feverlastingaffectionatebluet&image=https%3A%2F%2Fthumbs.gfycat.com%2FEverlastingAffectionateBluet-size_restricted.gif&key=ed8fa8699ce04833838e66ce79ba05f1&type=text%2Fhtml&schema=gfycat)
│    │  │     ├────1.91 MB (00.12%) ++ window(https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fgfycat.com%2Fifr%2Fyawningconsciousafricanfisheagle&url=https%3A%2F%2Fgfycat.com%2Fyawningconsciousafricanfisheagle&image=https%3A%2F%2Fthumbs.gfycat.com%2FYawningConsciousAfricanfisheagle-size_restricted.gif&key=ed8fa8699ce04833838e66ce79ba05f1&type=text%2Fhtml&schema=gfycat)
│    │  │     ├────1.91 MB (00.12%) ++ window(https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fgfycat.com%2Fifr%2Fequalimpassionedalabamamapturtle&url=https%3A%2F%2Fgfycat.com%2Fequalimpassionedalabamamapturtle&image=https%3A%2F%2Fthumbs.gfycat.com%2FEqualImpassionedAlabamamapturtle-size_restricted.gif&key=ed8fa8699ce04833838e66ce79ba05f1&type=text%2Fhtml&schema=gfycat)
│    │  │     ├────1.90 MB (00.11%) ++ window(https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fgfycat.com%2Fifr%2Fnaughtymarvelouskitfox&url=https%3A%2F%2Fgfycat.com%2Fnaughtymarvelouskitfox&image=https%3A%2F%2Fthumbs.gfycat.com%2FNaughtyMarvelousKitfox-size_restricted.gif&key=ed8fa8699ce04833838e66ce79ba05f1&type=text%2Fhtml&schema=gfycat)
│    │  │     ├────1.90 MB (00.11%) ++ window(https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fgfycat.com%2Fifr%2Fconcretehelplessibis&url=https%3A%2F%2Fgfycat.com%2Fconcretehelplessibis&image=https%3A%2F%2Fthumbs.gfycat.com%2FConcreteHelplessIbis-size_restricted.gif&key=2aa3c4d5f3de4f5b9120b660ad850dc9&type=text%2Fhtml&schema=gfycat)
│    │  │     ├────1.90 MB (00.11%) ++ window(https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fgfycat.com%2Fifr%2Fpartialoilygerbil&url=https%3A%2F%2Fgfycat.com%2Fpartialoilygerbil&image=https%3A%2F%2Fthumbs.gfycat.com%2FPartialOilyGerbil-size_restricted.gif&key=ed8fa8699ce04833838e66ce79ba05f1&type=text%2Fhtml&schema=gfycat)
│    │  │     ├────1.89 MB (00.11%) ++ window(https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fimgur.com%2Fa%2FsGTXw5M%2Fembed%3Fpub%3Dtrue%26ref%3Dhttps%253A%252F%252Fembed.ly%26w%3D900&url=https%3A%2F%2Fimgur.com%2Fa%2FsGTXw5M&image=https%3A%2F%2Fi.imgur.com%2FFEkdesn.jpg%3Ffb&key=2aa3c4d5f3de4f5b9120b660ad850dc9&type=text%2Fhtml&schema=imgur)
│    │  │     ├────0.62 MB (00.04%) ++ window(https://imgur.com/a/sGTXw5M/embed?pub=true&ref=https%3A%2F%2Fembed.ly&referrer=https%3A%2F%2Fwww.redditmedia.com%2Fmediaembed%2Fc60f9g&w=900)
...
│    │  └──180.27 MB (10.87%) ++ js-zone(0x2b128d72000)
│    └────0.82 MB (00.05%) ++ top(none)/detached/window(about:blank)
├────373.23 MB (22.51%) -- media
│    ├──340.36 MB (20.53%) ── resources
│    ├───32.87 MB (01.98%) -- decoded
│    │   ├──32.82 MB (01.98%) ── audio
│    │   └───0.05 MB (00.00%) ── video
│    └────0.00 MB (00.00%) ── libogg
├────134.23 MB (08.09%) ── heap-unclassified
├────130.33 MB (07.86%) -- images
│    ├──130.23 MB (07.85%) -- content
│    │  ├──130.08 MB (07.84%) ++ raster/used
│    │  └────0.14 MB (00.01%) ++ vector/used
│    └────0.10 MB (00.01%) ++ chrome/vector/used
├────104.83 MB (06.32%) -- js-non-window
│    ├───55.38 MB (03.34%) -- runtime
│    │   ├──38.44 MB (02.32%) ++ (14 tiny)
│    │   └──16.94 MB (01.02%) ++ code
│    ├───37.54 MB (02.26%) -- zones
│    │   ├──20.57 MB (01.24%) -- (3 tiny)
│    │   │  ├──15.55 MB (00.94%) ++ zone(0x2b128d72000)
│    │   │  ├───4.72 MB (00.28%) ++ zone(0x2b128d33000)
│    │   │  └───0.30 MB (00.02%) ++ zone(0x2b128d4a000)
│    │   └──16.97 MB (01.02%) ++ zone(0x2b128d53000)
│    └───11.91 MB (00.72%) ++ (3 tiny)
├─────37.02 MB (02.23%) -- heap-overhead
│     ├──22.79 MB (01.37%) ── bin-unused
│     └──14.23 MB (00.86%) ++ (2 tiny)
└─────19.85 MB (01.20%) ++ (22 tiny)
Flags: needinfo?(erahm)

It looks like there's quite a bit of Js memory going on here, perhaps the JS folks can take a look and see if there's something we can do to improve things. We also might want to reach out to reddit in case they're doing something odd.

Component: Performance → JavaScript Engine
Whiteboard: [MemShrink] → [MemShrink:P3]

Jan / Paul, is there any recent changes which might cause this issue to appear in 67 and newer?
Is there any low-hanging fruit that we might look at?

Flags: needinfo?(pbone)
Flags: needinfo?(jdemooij)
Priority: -- → P2
Whiteboard: [MemShrink:P3] → [MemShrink:P3][qf]

There's nothing in this time frame that I'm aware of. And this wasn't reported as a regression anyway.

Jon, did your changes to the malloc bytes threshold land in FF67?

I'm trying to capture some profiles from scrolling reddit.com and also find out if this is a leak in reddit's code our some scheduling problem in ours.

This one shows some GCs started by the cycle collector that don't seem to be able to find much garbage: https://perfht.ml/2YJPgch

If I open reddit.com and open about:memory I can see that the JS memory for that site is about 40MB out of 170MB total explicit memory. After using it for a while JS memory is about 47MB, total explicit memory is 418MB. So non JS memory climbs faster than JS memory. Performing a shrinking GC reduces it to 45MB/346MB. and refreshing the page reduces it further to 44MB/260MB. So I'm not finding that the JS GC accounts for much of the growth of the memory here. After scrolling for a while other window objects are added that have their own memory costs, these are released when the page is refreshed (as expected), so maybe reddit.com could release them earlier but I don't know.

kokispro1, Marcela, how long did you have to scroll reddit to see the memory usage climb up? Were you on any particular subreddit (were there a lot if images/other embedded stuff)? did you navigate between subreddits or posts (causing the page to refresh?).

Thank you.

Flags: needinfo?(pbone)
Flags: needinfo?(marcela.calderon)
Flags: needinfo?(kokispro1)
Flags: needinfo?(jcoppeard)
Attached file memory-report.json.gz

Thanks much for investigating this! I've attached a report where I believe I'm seeing the same thing as well (high JS usage after scrolling on Nightly 69.0a1).

Hi felexlinux,

On its own this report isn't useful I'm afraid. Ideally what I'm looking for are two reports, one before the memory increase and one after, then I can compare them and see where the memory's being allocated to.

Do you know which of your tabs you think is using more memory than it should? Some sites just use a lot of memory and we can't do anything about that, but I don't know where to look here. You've anonymized the report, which is great. But could you tell me the pid of the tab in question? is it also reddit? To find the pid hover your mouse over the tab and look at the tooltip when it pops up.

Thanks.

Flags: needinfo?(felixlinux)

Ah, sorry. I'll get a before and after report with the PIDs I suspect.

Paul Bone. Not long. I was simply scrolling Home sorted by Best. For about 20-30 minutes. There were a lot of pictures but no navigating between subreddits.

Flags: needinfo?(kokispro1)

We did fix a memory leak that was triggered by our compartment changes in v67. The fix landed on Nightly a few days ago, bug 1561887. It's a long shot but I do see a bunch of iframes in that memory report so who knows.

Flags: needinfo?(jdemooij)

(In reply to Paul Bone [:pbone] from comment #11)

Jon, did your changes to the malloc bytes threshold land in FF67?

Nothing in 67.

Steps to reproduce:
Casual browsing/Watching twitch.tv.

Note we have other reports of twitch causing high memory usage (e.g. bug 1501238).

Flags: needinfo?(jcoppeard)

Bugbug thinks this bug is a regression, but please revert this change in case of error.

Keywords: regression

Paul Bone, I´ve only scrolled down without doing anything else.
For instance:
After 1 minute memory size grows up 1.7 mega
After 1.30 minutes memory size grows up 2 mega
After 2 minutes memory size grows 2.4 mega

Whiteboard: [MemShrink:P3][qf] → [MemShrink:P3][qf-]

kokispro1 / Marcela, If you have a chance could you re-test a nightly version since Jandem reports that Bug 1561887 may have caused a leak.

Marcela: That doesn't seem like a lot of memory increase to me. Particularly given that as the user scrolls reddit brings in new items including media.

Thanks.

Keywords: regression

About 10-15 minutes of normal day-to-day scrolling resulted in a memory usage of 2GBs.

Hi Paul, I have re-tested on latest Nightly 70.0a1 (2019-07-18), Memory reached 2GB. I attached the Memory report File

Flags: needinfo?(marcela.calderon)

Awesome, thank you both. I'll continue with this next week.

Flags: needinfo?(felixlinux) → needinfo?(pbone)

There's about 800MB that's unaccounted for (between the explicit known allocations and the resident/reserved size). I think we're going to need to test this ourselves, make some comparisons before/after scrolling and also try the DMD.

It doesn't seem specific to JavaScript AFAIK.

Component: JavaScript Engine → General
Flags: needinfo?(pbone)
Severity: normal → S3
Component: General → Performance
See Also: → 1654087
Performance Impact: --- → -
Whiteboard: [MemShrink:P3][qf-] → [MemShrink:P3]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: