Closed Bug 1433859 Opened 6 years ago Closed 6 years ago

High RAM Usage

Categories

(Firefox :: Untriaged, defect)

58 Branch
defect
Not set
normal

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: djk19981998, Unassigned, NeedInfo)

Details

(Whiteboard: [MemShrink])

Attachments

(5 files)

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:58.0) Gecko/20100101 Firefox/58.0
Build ID: 20180118215408

Steps to reproduce:

For the last couple of weeks, Firefox has been eating up anywhere between 3 and 5 gigs of RAM even with only a few tabs active. 

When I restart Firefox, the RAM usage is reasonable for about ten minutes, then it goes back up to 3-5 gigs.

Firefox's CPU usage is usually pretty minimal. 

Here are my specs: 

* Windows 10 x64 Home
* Intel i3-6100, 3.7GHz
* 8 GB DDR4
* AMD Radeon 7850

I have tried:
* Refreshing Firefox
* Turning off accessibility services in my preferences 
* Minimizing memory usage (which doesn't actually lower my memory usage)
* Updating my GPU drivers
* Running in SafeMode (and manually turning my extensions off) 

My memory log after running minimize memory usage is attached. 

Here is my about:support text: 

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

Name: Firefox
Version: 58.0
Build ID: 20180118215408
Update Channel: release
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:58.0) Gecko/20100101 Firefox/58.0
OS: Windows_NT 10.0
Multiprocess Windows: 3/3 (Enabled by default)
Web Content Processes: 5/4
Stylo: content = true (enabled by default), chrome = false (disabled by default)
Google Key: Found
Mozilla Location Service Key: Found
Safe Mode: false

Crash Reports for the Last 3 Days
---------------------------------

All Crash Reports (including 2 pending crashes in the given time range)

Firefox Features
----------------

Name: Activity Stream
Version: 2018.01.04.0062-4997c81d
ID: activity-stream@mozilla.org

Name: Application Update Service Helper
Version: 2.0
ID: aushelper@mozilla.org

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

Name: Follow-on Search Telemetry
Version: 0.9.6
ID: followonsearch@mozilla.com

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

Name: Photon onboarding
Version: 1.0
ID: onboarding@mozilla.org

Name: Pocket
Version: 1.0.5
ID: firefox@getpocket.com

Name: Shield Recipe Client
Version: 76.1
ID: shield-recipe-client@mozilla.org

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

Extensions
----------

Name: Ponyhoof
Version: 2.321
Enabled: true
ID: ponyhoof@ponyhoof.little.my

Name: Reddit Enhancement Suite
Version: 5.10.3
Enabled: true
ID: jid1-xUfzOsOFlzSOXg@jetpack

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

Name: YouTube Plus
Version: 1.9.6
Enabled: true
ID: particle@particlecore.github.io

Name: Adobe Acrobat
Version: 18.0.4
Enabled: false
ID: web2pdfextension.17@acrobat.adobe.com

Name: Feedly Notifier
Version: 2.16.2
Enabled: false
ID: jid1-BOjn8b0IM7kH2w@jetpack

Name: Pushbullet
Version: 335
Enabled: false
ID: jid1-BYcQOfYfmBMd9A@jetpack

Graphics
--------

Features
Compositing: Direct3D 11 (Advanced Layers)
Asynchronous Pan/Zoom: wheel input enabled; scrollbar drag enabled; keyboard enabled; autoscroll enabled
WebGL 1 Driver WSI Info: EGL_VENDOR: Google Inc. (adapter LUID: 0000000013612364) EGL_VERSION: 1.4 (ANGLE 2.1.0.db3422764a9b) 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_nv12 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_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_ANGLE_display_robust_resource_initialization
WebGL 1 Driver Renderer: Google Inc. -- ANGLE (AMD Radeon HD 7800 Series Direct3D11 vs_5_0 ps_5_0)
WebGL 1 Driver Version: OpenGL ES 2.0 (ANGLE 2.1.0.db3422764a9b)
WebGL 1 Driver Extensions: GL_ANGLE_client_arrays 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_program_cache_control GL_ANGLE_request_extension GL_ANGLE_robust_client_memory GL_ANGLE_robust_resource_initialization 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_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
WebGL 1 Extensions: ANGLE_instanced_arrays EXT_blend_minmax EXT_color_buffer_half_float EXT_frag_depth EXT_sRGB EXT_shader_texture_lod EXT_texture_filter_anisotropic EXT_disjoint_timer_query 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: 0000000013612364) EGL_VERSION: 1.4 (ANGLE 2.1.0.db3422764a9b) 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_nv12 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_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_ANGLE_display_robust_resource_initialization
WebGL 2 Driver Renderer: Google Inc. -- ANGLE (AMD Radeon HD 7800 Series Direct3D11 vs_5_0 ps_5_0)
WebGL 2 Driver Version: OpenGL ES 3.0 (ANGLE 2.1.0.db3422764a9b)
WebGL 2 Driver Extensions: GL_ANGLE_client_arrays GL_ANGLE_depth_texture 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_robust_resource_initialization 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_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
WebGL 2 Extensions: EXT_color_buffer_float EXT_texture_filter_anisotropic EXT_disjoint_timer_query 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
DirectWrite: true (10.0.16299.15)
GPU #1
Active: Yes
Description: AMD Radeon HD 7800 Series
Vendor ID: 0x1002
Device ID: 0x6819
Driver Version: 23.20.15015.1002
Driver Date: 1-12-2018
Drivers: aticfx64 aticfx64 aticfx64 amdxc64 aticfx32 aticfx32 aticfx32 amdxc32 atiumd64 atidxx64 atidxx64 atiumdag atidxx32 atidxx32 atiumdva atiumd6a atitmm64
Subsys ID: 27311462
RAM: 2048

Diagnostics
ClearType Parameters: DISPLAY1 [ Gamma: 2.2 Pixel Structure: RGB ClearType Level: 100 Enhanced Contrast: 400 ] DISPLAY2 [ Gamma: 2.2 Pixel Structure: RGB ClearType Level: 100 Enhanced Contrast: 400 ]
AzureCanvasAccelerated: 0
AzureCanvasBackend: Direct2D 1.1
AzureCanvasBackend (UI Process): skia
AzureContentBackend: Direct2D 1.1
AzureContentBackend (UI Process): skia
AzureFallbackCanvasBackend (UI Process): cairo
GPUProcessPid: 1604
ClearType Parameters: DISPLAY1 [ Gamma: 2.2 Pixel Structure: RGB ClearType Level: 100 Enhanced Contrast: 400 ] DISPLAY2 [ Gamma: 2.2 Pixel Structure: RGB ClearType Level: 100 Enhanced Contrast: 400 ]
Decision Log
WEBRENDER:
opt-in by default: WebRender is an opt-in feature
unavailable by runtime: Build doesn't include WebRender




Media
-----

Audio Backend: wasapi
Max Channels: 2
Preferred Channel Layout: stereo
Preferred Sample Rate: 48000
Output Devices
Name: Group
Speakers (Realtek High Definition Audio): HDAUDIO\FUNC_01&VEN_10EC&DEV_0887&SUBSYS_1462F971&REV_1003\4&28a2bcfc&0&0001
4 - Digital Display Audio (AMD High Definition Audio Device): HDAUDIO\FUNC_01&VEN_1002&DEV_AA01&SUBSYS_00AA0100&REV_1003\5&385592bf&0&0001
1 - Digital Display Audio (AMD High Definition Audio Device): HDAUDIO\FUNC_01&VEN_1002&DEV_AA01&SUBSYS_00AA0100&REV_1003\5&385592bf&0&0001
:
6 - Digital Display Audio (AMD High Definition Audio Device): HDAUDIO\FUNC_01&VEN_1002&DEV_AA01&SUBSYS_00AA0100&REV_1003\5&385592bf&0&0001
2 - Digital Display Audio (AMD High Definition Audio Device): HDAUDIO\FUNC_01&VEN_1002&DEV_AA01&SUBSYS_00AA0100&REV_1003\5&385592bf&0&0001
:
3 - Digital Display Audio (AMD High Definition Audio Device): HDAUDIO\FUNC_01&VEN_1002&DEV_AA01&SUBSYS_00AA0100&REV_1003\5&385592bf&0&0001
5 - Digital Display Audio (AMD High Definition Audio Device): HDAUDIO\FUNC_01&VEN_1002&DEV_AA01&SUBSYS_00AA0100&REV_1003\5&385592bf&0&0001
Realtek HD Audio 2nd output (Realtek High Definition Audio): HDAUDIO\FUNC_01&VEN_10EC&DEV_0887&SUBSYS_1462F971&REV_1003\4&28a2bcfc&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&385592bf&0&0001
Front (Realtek High Definition Audio): HDAUDIO\FUNC_01&VEN_10EC&DEV_0887&SUBSYS_1462F971&REV_1003\4&28a2bcfc&0&0001
Rear Pink In (Realtek High Definition Audio): HDAUDIO\FUNC_01&VEN_10EC&DEV_0887&SUBSYS_1462F971&REV_1003\4&28a2bcfc&0&0001
Internal AUX Jack (AMD High Definition Audio Device): HDAUDIO\FUNC_01&VEN_1002&DEV_AA01&SUBSYS_00AA0100&REV_1003\5&385592bf&0&0001
Subwoofer (Realtek High Definition Audio): HDAUDIO\FUNC_01&VEN_10EC&DEV_0887&SUBSYS_1462F971&REV_1003\4&28a2bcfc&0&0001
Stereo Mix (Realtek High Definition Audio): HDAUDIO\FUNC_01&VEN_10EC&DEV_0887&SUBSYS_1462F971&REV_1003\4&28a2bcfc&0&0001
:
Internal AUX Jack (AMD High Definition Audio Device): HDAUDIO\FUNC_01&VEN_1002&DEV_AA01&SUBSYS_00AA0100&REV_1003\5&385592bf&0&0001
Front Green In (Realtek High Definition Audio): HDAUDIO\FUNC_01&VEN_10EC&DEV_0887&SUBSYS_1462F971&REV_1003\4&28a2bcfc&0&0001
Internal AUX Jack (AMD High Definition Audio Device): HDAUDIO\FUNC_01&VEN_1002&DEV_AA01&SUBSYS_00AA0100&REV_1003\5&385592bf&0&0001
Rear (Realtek High Definition Audio): HDAUDIO\FUNC_01&VEN_10EC&DEV_0887&SUBSYS_1462F971&REV_1003\4&28a2bcfc&0&0001
Rear Blue In (Realtek High Definition Audio): HDAUDIO\FUNC_01&VEN_10EC&DEV_0887&SUBSYS_1462F971&REV_1003\4&28a2bcfc&0&0001
:
Microphone (HD Webcam C270): USB\VID_046D&PID_0825&MI_02\6&92286d9&0&0002
Internal AUX Jack (AMD High Definition Audio Device): HDAUDIO\FUNC_01&VEN_1002&DEV_AA01&SUBSYS_00AA0100&REV_1003\5&385592bf&0&0001
Internal AUX Jack (AMD High Definition Audio Device): HDAUDIO\FUNC_01&VEN_1002&DEV_AA01&SUBSYS_00AA0100&REV_1003\5&385592bf&0&0001
Front Pink In (Realtek High Definition Audio): HDAUDIO\FUNC_01&VEN_10EC&DEV_0887&SUBSYS_1462F971&REV_1003\4&28a2bcfc&0&0001
Microphone (Realtek High Definition Audio): HDAUDIO\FUNC_01&VEN_10EC&DEV_0887&SUBSYS_1462F971&REV_1003\4&28a2bcfc&0&0001
Rear Green In (Realtek High Definition Audio): HDAUDIO\FUNC_01&VEN_10EC&DEV_0887&SUBSYS_1462F971&REV_1003\4&28a2bcfc&0&0001
Center (Realtek High Definition Audio): HDAUDIO\FUNC_01&VEN_10EC&DEV_0887&SUBSYS_1462F971&REV_1003\4&28a2bcfc&0&0001
Line In (Realtek High Definition Audio): HDAUDIO\FUNC_01&VEN_10EC&DEV_0887&SUBSYS_1462F971&REV_1003\4&28a2bcfc&0&0001

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

accessibility.force_disabled: 1
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.frecency_experiment: 1
browser.download.manager.alertOnEXEOpen: true
browser.places.smartBookmarksVersion: 8
browser.sessionstore.upgradeBackup.latestBuildID: 20180118215408
browser.startup.homepage_override.buildID: 20180118215408
browser.startup.homepage_override.mstone: 58.0
browser.tabs.remote.autostart.2: true
browser.urlbar.lastSuggestionsPromptDate: 20180120
browser.urlbar.searchSuggestionsChoice: false
browser.urlbar.suggest.searches: false
browser.urlbar.timesBeforeHidingSuggestionsHint: 2
dom.forms.autocomplete.formautofill: true
dom.ipc.processCount.web: 4
extensions.lastAppVersion: 58.0
gfx.crash-guard.d3d11layers.appVersion: 57.0.4
gfx.crash-guard.d3d11layers.deviceID: 0x6819
gfx.crash-guard.d3d11layers.driverVersion: 22.19.677.257
gfx.crash-guard.d3d11layers.feature-d2d: true
gfx.crash-guard.d3d11layers.feature-d3d11: true
gfx.crash-guard.status.d3d11layers: 2
layers.mlgpu.sanity-test-failed: false
media.benchmark.vp9.fps: 156
media.benchmark.vp9.versioncheck: 3
media.gmp-gmpopenh264.abi: x86_64-msvc-x64
media.gmp-gmpopenh264.lastUpdate: 1516509361
media.gmp-gmpopenh264.version: 1.7.1
media.gmp-manager.buildID: 20180118215408
media.gmp-manager.lastCheck: 1517133142
media.gmp-widevinecdm.abi: x86_64-msvc-x64
media.gmp-widevinecdm.lastUpdate: 1516509362
media.gmp-widevinecdm.version: 1.4.8.1008
media.gmp.storage.version.observed: 1
media.hardware-video-decoding.failed: false
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: 1517133313
places.history.expiration.transient_current_max_pages: 153880
plugin.disable_full_page_plugin_for_types: application/pdf
privacy.trackingprotection.enabled: true
privacy.trackingprotection.introCount: 20
security.sandbox.content.tempDirSuffix: {f94f8ee1-e8ee-4cb5-b530-140bf1ae45df}
services.sync.declinedEngines: tabs,passwords
services.sync.engine.addresses.available: true
services.sync.engine.passwords: false
services.sync.engine.prefs.modified: false
services.sync.engine.tabs: false
services.sync.lastPing: 1517133041
services.sync.lastSync: Mon Jan 29 2018 01:29:38 GMT-0800 (Pacific Standard Time)
storage.vacuum.last.index: 1
storage.vacuum.last.places.sqlite: 1516512679
ui.osk.debug.keyboardDisplayReason: IKPOS: Touch screen not found.

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

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

JavaScript
----------

Incremental GC: true

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

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

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

NSPR
Expected minimum version: 4.17
Version in use: 4.17

NSS
Expected minimum version: 3.34.1
Version in use: 3.34.1

NSSSMIME
Expected minimum version: 3.34.1
Version in use: 3.34.1

NSSSSL
Expected minimum version: 3.34.1
Version in use: 3.34.1

NSSUTIL
Expected minimum version: 3.34.1
Version in use: 3.34.1

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

Sandbox
-------

Content Process Sandbox Level: 4
Effective Content Process Sandbox Level: 4

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"]


Actual results:

Firefox eats up somewhere between 3-5 gigs of RAM with only a few active tabs after about ten minutes. 


Expected results:

Firefox shouldn't be using this much RAM.
Whiteboard: [MemShrink]
Hi djk19981998m,

Can you please try in safe mode to reproduce this issue? Here is a link that can help you with this: https://support.mozilla.org/t5/Procedures-to-diagnose-and-fix/Troubleshoot-Firefox-issues-using-Safe-Mode/ta-p/1687#w_how-to-start-firefox-in-safe-mode

Also, it will be great if you can capture a performance profile. You can get more info on how to install and use the Cleopatra add-on (that helps you get the performance profile) by going to:
https://developer.mozilla.org/en-US/docs/Mozilla/Performance/Profiling_with_the_Built-in_Profiler
You can use https://perf-html.io/ to install the add-on and after you have the profile, please past it here, someone will take a look and maybe we will figure out what is going on. 

Note: I tested this with FF 58 release and FF Nightly 60.0a1(2018-01-31)on Windows 10 x64 and I can't reproduce this. I used a new profile without any add-ons. Thanks
Flags: needinfo?(djk19981998)
OS & 32/64 bit : Windows 10  version 1709 (OS Build 16299.192) & x64 bit, Firefox 58.0

I tried to reproduce the bug you are experiencing. I wasn't able to reproduce the bug on my system. The reading of my RAM for Firefox was a bit high, but never increased above 300 MB of usage. If this bug persists on your system even after following the above mentioned steps by Ovidiu Boca, then do report back so I can change status of the bug.

[bugday-20180129]
Hello, 

I still encounter this issue while running in safemode, unfortunately. It doesn't seem like any of my plug-ins are the cause. 


I'm still encountering this issue on Firefox 58.0.1 x64. I have uploaded a profile I recorded per Ovidulu's instructions here: http://www.mediafire.com/file/b4auadpf61bicl2/Firefox_2018-02-04_18.23_profile.sps.json.gz

My memory usage was hovering between 4-5 gigs while this profile was recorded. 

Thanks!
Flags: needinfo?(djk19981998)
Hi Eric,
Can you please take a look at djk19981998 memory report from comment 3? Thanks
Flags: needinfo?(erahm)
Unfortunately the memory reports are incomplete, I'm guessing they timed out. One process looks like it had 14 ghost windows which could definitely lead to high memory usage and impact performance.

djk19981998 can you try capturing a memory report again when memory usage gets bad? Also it would be great if you could provide us with some steps to reproduce, does this happen on specific sites or is it a more general problem?

mconley, can you take a look at the performance profile in comment 3?
Flags: needinfo?(mconley)
Flags: needinfo?(erahm)
Flags: needinfo?(djk19981998)
In the profile, I see several content processes spending long periods of time doing cycle collection, which is (I think) consistent with there being a large number of things in the heap suggesting the presence of high memory usage (which might be a leak).

It's interesting that this is something that _several_ content processes are experiencing simultaneously.

Can you tell us a little bit more about the composition of your tabs and windows when you experience this issue? Roughly how many tabs do you have open? Is there a set of websites that you tend to always have open in tabs when you experience this issue?
Flags: needinfo?(mconley)
Flags: needinfo?(djk19981998)
(In reply to djk19981998 from comment #7)
> Created attachment 8949213 [details]
> Gecko Memory Profile With Over 5 Gigs of Memory Usage

In this case, reports from about:memory are better for diagnosing the issue you're experiencing. Until further notice, I don't think we'll need further profiles from the Gecko Profiler.
Hello, 

I have attached a new memory usage that (hopefully) isn't incomplete that I took while Firefox was using over 5 gigs of memory. 

This isn't really specific to any websites being open. I tend to have a YouTube tab open with a video playing, a facebook tab, a Google Inbox tab, and a couple other random tabs active when my memory usage starts to spike. 

When Firefox was using over 5 gigs of memory a little while ago, I had a YouTube video playing, a DuoLingo tab active, and about three other random tabs open. I did, however, have about twelve ghost tabs up. 

Thanks!
Ah, I'll attach an about:memory report once my memory usage gets high again! Sorry about that!
I have been seeing something similar since yesterday, after visiting a lot of new sites.

When I start firefox, no matter if in safe mode or not, one of the four or so processes it spawns start to go haywire.
I.e. after about 20s from launch, while sitting idle on the "main sites" page, the process starts to eat about half gigabyte per second.
It reaches e.g. 6 GB in 10-15 s and then my PC halts to a crawl and I have to turn it off (I have 8GB of physcial mem).

If I manage to kill that specific process quickly, then the firefox window is still open and I can use it without issue.
So, it is specific to the startup phase in my case.

I have tracked it down to having this site in my "main sites":

http://service.iris.edu/fdsnws/event/1/query?&starttime=2012-01-01T00:00:00&endtime=2013-01-01T00:00:00
(it was added after a few visits, since the computer is new and without much browsing history)

It seems at startup that payload is stashed in RAM in a loop filling up memory !?
Tried a few times removing and adding it... having that in the "main sites" is definetly the trigger!

Here's my about:support text:

Informazioni di base
--------------------

Nome: Firefox
Versione: 58.0.2
ID build: 20180206200532
Canale di aggiornamento: release
User agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:58.0) Gecko/20100101 Firefox/58.0
SO: Windows_NT 10.0
Finestre multiprocesso: 1/1 (Attivato automaticamente)
Processi contenuti web: 3/4
Stylo: content = true (attivato per impostazione predefinita), chrome = false (disattivato per impostazione predefinita)
Chiave Google: Disponibile
Chiave per il servizio Mozilla Location: Disponibile
Modalità provvisoria: true

Segnalazioni di arresto anomalo degli ultimi 3 giorni
-----------------------------------------------------

ID segnalazione: bp-92689929-3043-4053-ac03-013e41180209
Inviata: 6 ore fa

Tutte le segnalazioni di arresto anomalo (incluse 9 in attesa nell’intervallo di tempo indicato)

Caratteristiche di Firefox
--------------------------

Nome: Activity Stream
Versione: 2018.01.04.0062-4997c81d
ID: activity-stream@mozilla.org

Nome: Application Update Service Helper
Versione: 2.0
ID: aushelper@mozilla.org

Nome: Firefox Screenshots
Versione: 25.0.0
ID: screenshots@mozilla.org

Nome: Follow-on Search Telemetry
Versione: 0.9.6
ID: followonsearch@mozilla.com

Nome: Form Autofill
Versione: 1.0
ID: formautofill@mozilla.org

Nome: Photon onboarding
Versione: 1.0
ID: onboarding@mozilla.org

Nome: Pocket
Versione: 1.0.5
ID: firefox@getpocket.com

Nome: Shield Recipe Client
Versione: 76.1
ID: shield-recipe-client@mozilla.org

Nome: Web Compat
Versione: 1.1
ID: webcompat@mozilla.org

Estensioni
----------

Nome: Sicurezza browser Avira
Versione: 2.5.8.19613
Attiva: false
ID: abs@avira.com

Nome: uBlock Origin
Versione: 1.15.4
Attiva: false
ID: uBlock0@raymondhill.net

Grafica
-------

Caratteristiche
Composizione: Basic
Panoramica/zoom asincroni (APZ): input rotella attivo; trascinamento barre di scorrimento attivo; tastiera attiva; scorrimento automatico attivo
Informazioni driver WSI WebGL 1: -
Renderer driver WebGL 1: WebGL is currently disabled.
Versione driver WebGL 1: -
Estensioni driver WebGL 1: -
Estensioni WebGL 1: -
Informazioni driver WSI WebGL 2: -
Renderer driver WebGL 2: WebGL is currently disabled.
Versione driver WebGL 2: -
Estensioni driver WebGL 2: -
Estensioni WebGL 2: -
DirectWrite: true (10.0.16299.15)
GPU #1
Attivo: Sì
Descrizione: Intel(R) HD Graphics 630
ID produttore: 0x8086
ID dispositivo: 0x5912
Versione driver: 22.20.16.4691
Data aggiornamento driver: 6-2-2017
Driver: igdumdim64 igd10iumd64 igd10iumd64 igd12umd64 igdumdim32 igd10iumd32 igd10iumd32 igd12umd32
ID sottosistema: 00000000
RAM: Unknown

Diagnostica
AzureCanvasAccelerated: 0
AzureCanvasBackend: skia
AzureContentBackend: skia
AzureFallbackCanvasBackend: cairo
Registro decisioni
HW_COMPOSITING:
blocked by runtime: Acceleration blocked by safe-mode
D3D11_COMPOSITING:
unavailable by default: Hardware compositing is disabled
DIRECT2D:
unavailable by default: Direct2D requires Direct3D 11 compositing
D3D11_HW_ANGLE:
unavailable by default: D3D11 compositing is disabled
disabled by env: D3D11 compositing is disabled
GPU_PROCESS:
blocked by runtime: Safe-mode is enabled
WEBRENDER:
opt-in by default: WebRender is an opt-in feature
unavailable by runtime: ANGLE is disabled
OMTP:
blocked by runtime: OMTP blocked by safe-mode




Media
-----

Back-end audio: wasapi
Numero massimo di canali: 2
Layout preferito dei canali: stereo
Frequenza di campionamento preferita: 48000
Dispositivi di output
Nome: Gruppo
Altoparlanti (Conexant HD Audio): HDAUDIO\FUNC_01&VEN_14F1&DEV_5098&SUBSYS_103C82A1&REV_1001\4&21abace6&0&0001
Dispositivi di input
Nome: Gruppo
Linea in ingresso (Conexant HD Audio): HDAUDIO\FUNC_01&VEN_14F1&DEV_5098&SUBSYS_103C82A1&REV_1001\4&21abace6&0&0001
Microfono (Conexant HD Audio): HDAUDIO\FUNC_01&VEN_14F1&DEV_5098&SUBSYS_103C82A1&REV_1001\4&21abace6&0&0001
Missaggio stereo (Conexant HD Audio): HDAUDIO\FUNC_01&VEN_14F1&DEV_5098&SUBSYS_103C82A1&REV_1001\4&21abace6&0&0001

Preferenze importanti modificate
--------------------------------

accessibility.typeaheadfind.flashBar: 0
browser.cache.disk.capacity: 358400
browser.cache.disk.filesystem_reported: 1
browser.cache.disk.hashstats_reported: 1
browser.cache.disk.smart_size.first_run: false
browser.cache.frecency_experiment: 2
browser.download.useDownloadDir: false
browser.places.smartBookmarksVersion: 8
browser.sessionstore.upgradeBackup.latestBuildID: 20180206200532
browser.startup.homepage_override.buildID: 20180206200532
browser.startup.homepage_override.mstone: 58.0.2
browser.tabs.remote.autostart.2: true
browser.tabs.warnOnClose: false
browser.urlbar.lastSuggestionsPromptDate: 20171213
browser.urlbar.timesBeforeHidingSuggestionsHint: 0
dom.ipc.processCount.web: 4
extensions.lastAppVersion: 58.0.2
font.internaluseonly.changed: false
layers.mlgpu.sanity-test-failed: false
media.benchmark.vp9.fps: 192
media.benchmark.vp9.versioncheck: 3
media.gmp-gmpopenh264.abi: x86_64-msvc-x64
media.gmp-gmpopenh264.lastUpdate: 1513093850
media.gmp-gmpopenh264.version: 1.7.1
media.gmp-manager.buildID: 20180206200532
media.gmp-manager.lastCheck: 1518166880
media.gmp-widevinecdm.abi: x86_64-msvc-x64
media.gmp-widevinecdm.lastUpdate: 1513093851
media.gmp-widevinecdm.version: 1.4.8.1008
media.gmp.storage.version.observed: 1
media.hardware-video-decoding.failed: false
network.cookie.prefsMigrated: true
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: 1517570198
places.history.expiration.transient_current_max_pages: 101804
plugin.disable_full_page_plugin_for_types: application/pdf
print.printer_PCL6_V4_Driver_for_Universal_Print.print_bgcolor: false
print.printer_PCL6_V4_Driver_for_Universal_Print.print_bgimages: false
print.printer_PCL6_V4_Driver_for_Universal_Print.print_duplex: -437918235
print.printer_PCL6_V4_Driver_for_Universal_Print.print_edge_bottom: 0
print.printer_PCL6_V4_Driver_for_Universal_Print.print_edge_left: 0
print.printer_PCL6_V4_Driver_for_Universal_Print.print_edge_right: 0
print.printer_PCL6_V4_Driver_for_Universal_Print.print_edge_top: 0
print.printer_PCL6_V4_Driver_for_Universal_Print.print_evenpages: true
print.printer_PCL6_V4_Driver_for_Universal_Print.print_footercenter:
print.printer_PCL6_V4_Driver_for_Universal_Print.print_footerleft: &PT
print.printer_PCL6_V4_Driver_for_Universal_Print.print_footerright: &D
print.printer_PCL6_V4_Driver_for_Universal_Print.print_headercenter:
print.printer_PCL6_V4_Driver_for_Universal_Print.print_headerleft: &T
print.printer_PCL6_V4_Driver_for_Universal_Print.print_headerright: &U
print.printer_PCL6_V4_Driver_for_Universal_Print.print_in_color: true
print.printer_PCL6_V4_Driver_for_Universal_Print.print_margin_bottom: 0.5
print.printer_PCL6_V4_Driver_for_Universal_Print.print_margin_left: 0.5
print.printer_PCL6_V4_Driver_for_Universal_Print.print_margin_right: 0.5
print.printer_PCL6_V4_Driver_for_Universal_Print.print_margin_top: 0.5
print.printer_PCL6_V4_Driver_for_Universal_Print.print_oddpages: true
print.printer_PCL6_V4_Driver_for_Universal_Print.print_orientation: 0
print.printer_PCL6_V4_Driver_for_Universal_Print.print_page_delay: 50
print.printer_PCL6_V4_Driver_for_Universal_Print.print_paper_data: 0
print.printer_PCL6_V4_Driver_for_Universal_Print.print_paper_height: 11,00
print.printer_PCL6_V4_Driver_for_Universal_Print.print_paper_name:
print.printer_PCL6_V4_Driver_for_Universal_Print.print_paper_size_unit: 0
print.printer_PCL6_V4_Driver_for_Universal_Print.print_paper_width: 8,50
print.printer_PCL6_V4_Driver_for_Universal_Print.print_resolution: -437918235
print.printer_PCL6_V4_Driver_for_Universal_Print.print_reversed: false
print.printer_PCL6_V4_Driver_for_Universal_Print.print_scaling: 1,00
print.printer_PCL6_V4_Driver_for_Universal_Print.print_shrink_to_fit: true
print.printer_PCL6_V4_Driver_for_Universal_Print.print_to_file: false
print.printer_PCL6_V4_Driver_for_Universal_Print.print_unwriteable_margin_bottom: 0
print.printer_PCL6_V4_Driver_for_Universal_Print.print_unwriteable_margin_left: 0
print.printer_PCL6_V4_Driver_for_Universal_Print.print_unwriteable_margin_right: 0
print.printer_PCL6_V4_Driver_for_Universal_Print.print_unwriteable_margin_top: 0
security.sandbox.content.tempDirSuffix: {0364ef37-99c7-4c5f-932c-89f0350bcd7c}
services.sync.declinedEngines:
storage.vacuum.last.index: 1
storage.vacuum.last.places.sqlite: 1515751234
ui.osk.enabled: false

Preferenze importanti bloccate
------------------------------

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

JavaScript
----------

GC incrementale: true

Accessibilità
-------------

Attivato: false
Blocca servizi accessibilità: 0
Handler accessibilità utilizzato: true
Istanziatore accessibilità:

Versioni librerie
-----------------

NSPR
Versione minima prevista: 4.17
Versione in uso: 4.17

NSS
Versione minima prevista: 3.34.1
Versione in uso: 3.34.1

NSSSMIME
Versione minima prevista: 3.34.1
Versione in uso: 3.34.1

NSSSSL
Versione minima prevista: 3.34.1
Versione in uso: 3.34.1

NSSUTIL
Versione minima prevista: 3.34.1
Versione in uso: 3.34.1

Caratteristiche sperimentali
----------------------------

Sandbox
-------

Livello sandbox content process: 4
Livello effettivo sandbox content process: 4

Internazionalizzazione e localizzazione
---------------------------------------

Impostazioni dell’applicazione
Lingue richieste: ["it","en-US"]
Lingue disponibili: ["it"]
Lingue applicazione: ["it"]
Impostazioni internazionali: ["it-IT"]
Lingua predefinita: "it"
Sistema operativo
Lingue del sistema: ["it-IT"]
Impostazioni internazionali: ["it-IT"]
(In reply to djk19981998 from comment #11)
> Created attachment 8949634 [details]
> Memory Report After Minimize Memory Usage ~ 4.5gigs Being Used

Thanks, djk19981998 - I see a number of ghost windows here, but beyond that, I can't make much sense of this. Perhaps erahm can take another look?
Flags: needinfo?(erahm)
I feel like it might be important to note that the memory usage of Firefox x64 on my laptop, which uses the same profile as my desktop, hovers between 1 and 2 gigs while having a number of ghost tabs and active tabs for YouTube, Facebook, Twitter, Tumblr, etc.
Decided to add another memory usage report to both revive this topic and provide more information.
Hey djk19981998, do you have any security software that might be injecting itself and causing a memory leak? Perhaps anti-virus or anti-malware software?
Flags: needinfo?(djk19981998)
(In reply to Mike Conley (:mconley) (:⚙️) (Totally backlogged on reviews and needinfos) from comment #13)
> (In reply to djk19981998 from comment #11)
> > Created attachment 8949634 [details]
> > Memory Report After Minimize Memory Usage ~ 4.5gigs Being Used
> 
> Thanks, djk19981998 - I see a number of ghost windows here, but beyond that,
> I can't make much sense of this. Perhaps erahm can take another look?

Definitely a ton of ghost windows, that's where most of the memory is. As Mike noted it could be AV related. Can you reproduce with Avira disabled?
Flags: needinfo?(erahm)
Hi,
Marking this as Resolved: Incomplete due to the lack of response from djk19981998. 
Feel free to reopen the bug with more information, please see comment 18.
Status: UNCONFIRMED → RESOLVED
Closed: 6 years ago
Resolution: --- → INCOMPLETE
(In reply to Leander from comment #12)
> I have been seeing something similar since yesterday, after visiting a lot
> of new sites.
> 
> When I start firefox, no matter if in safe mode or not, one of the four or
> so processes it spawns start to go haywire.
> I.e. after about 20s from launch, while sitting idle on the "main sites"
> page, the process starts to eat about half gigabyte per second.
> It reaches e.g. 6 GB in 10-15 s and then my PC halts to a crawl and I have
> to turn it off (I have 8GB of physcial mem).
> 
> If I manage to kill that specific process quickly, then the firefox window
> is still open and I can use it without issue.
> So, it is specific to the startup phase in my case.
> 
> I have tracked it down to having this site in my "main sites":
> 
> http://service.iris.edu/fdsnws/event/1/query?&starttime=2012-01-01T00:00:
> 00&endtime=2013-01-01T00:00:00
> (it was added after a few visits, since the computer is new and without much
> browsing history)
> 
> It seems at startup that payload is stashed in RAM in a loop filling up
> memory !?
> Tried a few times removing and adding it... having that in the "main sites"
> is definetly the trigger!
I can reproduce memory leak with this link on Nightly 61.0a1 (2018-03-12) (64-bit) and new clean profile. Even if I close tab before it eats all of my RAM, browser continues to download data from server and content-process is growing further. Moreover, even if I disconnect internet, leak is going further for some time. It fulfilled all of my RAM (8 GB), and there I noticed that another child-process now grew too (up to 2 GB). My RAM and swap (8+6 GB) were completely full. I had to wait 10 minutes until browser frees memory, and then another 10 minutes until my Windows becomes somehow responsive after stressing swap-file.
I couldn't capture memory profile of all stages of this disaster expect the first: when content-process was 4.4 GB, here it is.
Maybe that's a different bug from reporter's one, but please take a look.
Thanks for the repro, Qwerty.

I'll add that the server responds with a 622 MB XML file.

So pretty big. But it takes 38 minutes to download using wget from the same computer,
while the memory filling happens in seconds... so Firefox is choking on the first few megabytes anyway.

Could some XML (pre)processing be the cuplrit here?
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: