If you think a bug might affect users in the 57 release, please set the correct tracking and status flags for Release Management.

nightly using 3+ GB in parent process on mac with 2+ GB peak graphics textures

RESOLVED DUPLICATE of bug 1379139

Status

()

Core
Graphics
RESOLVED DUPLICATE of bug 1379139
3 months ago
3 months ago

People

(Reporter: bkelly, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: [MemShrink][gfx-noted])

Attachments

(1 attachment)

(Reporter)

Description

3 months ago
Created attachment 8884697 [details]
memory-report.json.gz

Please see the attached memory report.  The parent process has a very high unique RSS, but does not have a lot of explicit heap memory.  The end summary for the process:

     0.00 MB ── gfx-surface-quartz
   201.67 MB ── gfx-textures
 2,781.70 MB ── gfx-textures-peak
     0.00 MB ── gfx-tiles-waste
           0 ── ghost-windows
   227.18 MB ── heap-allocated
     1.00 MB ── heap-chunksize
   360.00 MB ── heap-mapped
          28 ── host-object-urls
     2.24 MB ── imagelib-surface-cache-estimated-locked
     2.24 MB ── imagelib-surface-cache-estimated-total
           0 ── imagelib-surface-cache-overflow-count
     1.79 MB ── js-main-runtime-temporary-peak
      20,392 ── page-faults-hard
   5,519,906 ── page-faults-soft
 5,217.54 MB ── resident
 5,518.75 MB ── resident-peak
 3,302.71 MB ── resident-unique
     0.00 MB ── shmem-allocated
    19.30 MB ── shmem-mapped
     0.00 MB ── tracelogger
           0 ── unresolved-ipc-promises
13,755.03 MB ── vsize

Note the heap is only a few hundred MB, but URSS is over 3 GB.  The gfx-textures-peak seems suspiciously high as well, although current gfx-textures is low.  Are we leaking the textures somehow?

Milan, do you have anyone who could help interpret this?
Flags: needinfo?(milan)
(Reporter)

Comment 1

3 months ago
about:support output:

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

Name: Firefox
Version: 56.0a1
Build ID: 20170709100222
Update Channel: nightly
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:56.0) Gecko/20100101 Firefox/56.0
OS: Darwin 16.6.0
Multiprocess Windows: 1/1 (Enabled by default)
Stylo: false (disabled by build)
Google Key: Found
Mozilla Location Service Key: Found
Safe Mode: false

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

All Crash Reports

Nightly Features
----------------

Name: Activity Stream
Version: 0.0.0
ID: activity-stream@mozilla.org

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

Name: Click-to-Play staged rollout
Version: 1.2
ID: clicktoplay-rollout@mozilla.org

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

Name: FlyWeb
Version: 1.0.0
ID: flyweb@mozilla.org

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

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

Name: Multi-process staged rollout
Version: 1.70
ID: e10srollout@mozilla.org

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

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

Name: Presentation
Version: 1.0.0
ID: presentation@mozilla.org

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

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

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

Extensions
----------

Name: Gecko Profiler
Version: 0.17
Enabled: true
ID: geckoprofiler@mozilla.com

Graphics
--------

Features
Compositing: OpenGL
Asynchronous Pan/Zoom: wheel input enabled; scrollbar drag enabled
WebGL 1 Driver WSI Info: CGL
WebGL 1 Driver Renderer: ATI Technologies Inc. -- AMD Radeon Pro 455 OpenGL Engine
WebGL 1 Driver Version: 2.1 ATI-1.51.8
WebGL 1 Driver Extensions: GL_ARB_color_buffer_float GL_ARB_depth_buffer_float GL_ARB_depth_clamp GL_ARB_depth_texture GL_ARB_draw_buffers GL_ARB_draw_elements_base_vertex GL_ARB_draw_instanced GL_ARB_fragment_program GL_ARB_fragment_program_shadow GL_ARB_fragment_shader GL_ARB_framebuffer_object GL_ARB_framebuffer_sRGB GL_ARB_half_float_pixel GL_ARB_half_float_vertex GL_ARB_imaging GL_ARB_instanced_arrays GL_ARB_multisample GL_ARB_multitexture GL_ARB_occlusion_query GL_ARB_pixel_buffer_object GL_ARB_point_parameters GL_ARB_point_sprite GL_ARB_provoking_vertex GL_ARB_seamless_cube_map GL_ARB_shader_objects GL_ARB_shader_texture_lod GL_ARB_shading_language_100 GL_ARB_shadow GL_ARB_shadow_ambient GL_ARB_sync GL_ARB_texture_border_clamp GL_ARB_texture_compression GL_ARB_texture_compression_rgtc GL_ARB_texture_cube_map GL_ARB_texture_env_add GL_ARB_texture_env_combine GL_ARB_texture_env_crossbar GL_ARB_texture_env_dot3 GL_ARB_texture_float GL_ARB_texture_mirrored_repeat GL_ARB_texture_non_power_of_two GL_ARB_texture_rectangle GL_ARB_texture_rg GL_ARB_transpose_matrix GL_ARB_vertex_array_bgra GL_ARB_vertex_blend GL_ARB_vertex_buffer_object GL_ARB_vertex_program GL_ARB_vertex_shader GL_ARB_window_pos GL_EXT_abgr GL_EXT_bgra GL_EXT_bindable_uniform GL_EXT_blend_color GL_EXT_blend_equation_separate GL_EXT_blend_func_separate GL_EXT_blend_minmax GL_EXT_blend_subtract GL_EXT_clip_volume_hint GL_EXT_debug_label GL_EXT_debug_marker GL_EXT_depth_bounds_test GL_EXT_draw_buffers2 GL_EXT_draw_range_elements GL_EXT_fog_coord GL_EXT_framebuffer_blit GL_EXT_framebuffer_multisample GL_EXT_framebuffer_object GL_EXT_framebuffer_sRGB GL_EXT_geometry_shader4 GL_EXT_gpu_program_parameters GL_EXT_gpu_shader4 GL_EXT_multi_draw_arrays GL_EXT_packed_depth_stencil GL_EXT_packed_float GL_EXT_provoking_vertex GL_EXT_rescale_normal GL_EXT_secondary_color GL_EXT_separate_specular_color GL_EXT_shadow_funcs GL_EXT_stencil_two_side GL_EXT_stencil_wrap GL_EXT_texture_array GL_EXT_texture_compression_dxt1 GL_EXT_texture_compression_s3tc GL_EXT_texture_env_add GL_EXT_texture_filter_anisotropic GL_EXT_texture_integer GL_EXT_texture_lod_bias GL_EXT_texture_mirror_clamp GL_EXT_texture_rectangle GL_EXT_texture_shared_exponent GL_EXT_texture_sRGB GL_EXT_texture_sRGB_decode GL_EXT_timer_query GL_EXT_transform_feedback GL_EXT_vertex_array_bgra GL_APPLE_aux_depth_stencil GL_APPLE_client_storage GL_APPLE_element_array GL_APPLE_fence GL_APPLE_float_pixels GL_APPLE_flush_buffer_range GL_APPLE_flush_render GL_APPLE_object_purgeable GL_APPLE_packed_pixels GL_APPLE_pixel_buffer GL_APPLE_rgb_422 GL_APPLE_row_bytes GL_APPLE_specular_vector GL_APPLE_texture_range GL_APPLE_transform_hint GL_APPLE_vertex_array_object GL_APPLE_vertex_array_range GL_APPLE_vertex_point_size GL_APPLE_vertex_program_evaluators GL_APPLE_ycbcr_422 GL_ATI_blend_equation_separate GL_ATI_blend_weighted_minmax GL_ATI_separate_stencil GL_ATI_texture_compression_3dc GL_ATI_texture_env_combine3 GL_ATI_texture_float GL_ATI_texture_mirror_once GL_IBM_rasterpos_clip GL_NV_blend_square GL_NV_conditional_render GL_NV_depth_clamp GL_NV_fog_distance GL_NV_light_max_exponent GL_NV_texgen_reflection GL_NV_texture_barrier GL_SGI_color_matrix GL_SGIS_generate_mipmap GL_SGIS_texture_edge_clamp GL_SGIS_texture_lod
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 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_compressed_texture_s3tc_srgb 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: CGL
WebGL 2 Driver Renderer: ATI Technologies Inc. -- AMD Radeon Pro 455 OpenGL Engine
WebGL 2 Driver Version: 4.1 ATI-1.51.8
WebGL 2 Driver Extensions: GL_ARB_blend_func_extended GL_ARB_draw_buffers_blend GL_ARB_draw_indirect GL_ARB_ES2_compatibility GL_ARB_explicit_attrib_location GL_ARB_gpu_shader_fp64 GL_ARB_gpu_shader5 GL_ARB_instanced_arrays GL_ARB_internalformat_query GL_ARB_occlusion_query2 GL_ARB_sample_shading GL_ARB_sampler_objects GL_ARB_separate_shader_objects GL_ARB_shader_bit_encoding GL_ARB_shader_subroutine GL_ARB_shading_language_include GL_ARB_tessellation_shader GL_ARB_texture_buffer_object_rgb32 GL_ARB_texture_cube_map_array GL_ARB_texture_gather GL_ARB_texture_query_lod GL_ARB_texture_rgb10_a2ui GL_ARB_texture_storage GL_ARB_texture_swizzle GL_ARB_timer_query GL_ARB_transform_feedback2 GL_ARB_transform_feedback3 GL_ARB_vertex_attrib_64bit GL_ARB_vertex_type_2_10_10_10_rev GL_ARB_viewport_array GL_EXT_debug_label GL_EXT_debug_marker GL_EXT_depth_bounds_test GL_EXT_texture_compression_s3tc GL_EXT_texture_filter_anisotropic GL_EXT_texture_mirror_clamp GL_EXT_texture_sRGB_decode GL_APPLE_client_storage GL_APPLE_container_object_shareable GL_APPLE_flush_render GL_APPLE_object_purgeable GL_APPLE_rgb_422 GL_APPLE_row_bytes GL_APPLE_texture_range GL_ATI_texture_mirror_once GL_NV_texture_barrier
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
Audio Backend: audiounit
GPU #1
Active: Yes
Vendor ID: 0x8086
Device ID: 0x191b

Diagnostics
AzureCanvasAccelerated: 1
AzureCanvasBackend: skia
AzureContentBackend: skia
AzureFallbackCanvasBackend: none
TileHeight: 1024
TileWidth: 1024
Decision Log
WEBRENDER:
opt-in by default: WebRender is an opt-in feature




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

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: 4
browser.places.smartBookmarksVersion: 8
browser.sessionstore.upgradeBackup.latestBuildID: 20170709100222
browser.startup.homepage: about:home
browser.startup.homepage_override.buildID: 20170709100222
browser.startup.homepage_override.mstone: 56.0a1
browser.tabs.warnOnClose: false
browser.urlbar.daysBeforeHidingSuggestionsPrompt: 0
browser.urlbar.lastSuggestionsPromptDate: 20170526
browser.urlbar.maxRichResults: 12
browser.urlbar.timesBeforeHidingSuggestionsHint: 0
browser.urlbar.usepreloadedtopurls.enabled: false
dom.push.userAgentID: 332d9a3150b94a46bc0ee1af6484d8b8
extensions.lastAppVersion: 56.0a1
javascript.options.asyncstack: false
media.benchmark.vp9.fps: 137
media.benchmark.vp9.versioncheck: 2
media.gmp-gmpopenh264.abi: x86_64-gcc3
media.gmp-gmpopenh264.lastUpdate: 1495073264
media.gmp-gmpopenh264.version: 1.6
media.gmp-manager.buildID: 20170709100222
media.gmp-manager.lastCheck: 1499634743
media.gmp-widevinecdm.abi: x86_64-gcc3
media.gmp-widevinecdm.lastUpdate: 1495073266
media.gmp-widevinecdm.version: 1.4.8.903
media.gmp.storage.version.observed: 1
network.cookie.prefsMigrated: true
network.predictor.cleaned-up: true
places.database.lastMaintenance: 1499300176
places.history.expiration.transient_current_max_pages: 108849
plugin.disable_full_page_plugin_for_types: application/pdf
print.printer__.print_bgcolor: false
print.printer__.print_bgimages: false
print.printer__.print_duplex: -437918235
print.printer__.print_edge_bottom: 0
print.printer__.print_edge_left: 0
print.printer__.print_edge_right: 0
print.printer__.print_edge_top: 0
print.printer__.print_evenpages: true
print.printer__.print_footercenter:
print.printer__.print_footerleft: &PT
print.printer__.print_footerright: &D
print.printer__.print_headercenter:
print.printer__.print_headerleft: &T
print.printer__.print_headerright: &U
print.printer__.print_in_color: true
print.printer__.print_margin_bottom: 0.5
print.printer__.print_margin_left: 0.5
print.printer__.print_margin_right: 0.5
print.printer__.print_margin_top: 0.5
print.printer__.print_oddpages: true
print.printer__.print_orientation: 0
print.printer__.print_page_delay: 50
print.printer__.print_paper_data: 0
print.printer__.print_paper_height: 11.00
print.printer__.print_paper_name: na-letter
print.printer__.print_paper_size_unit: 0
print.printer__.print_paper_width: 8.50
print.printer__.print_resolution: -437918235
print.printer__.print_reversed: false
print.printer__.print_scaling: 1.00
print.printer__.print_shrink_to_fit: true
print.printer__.print_to_file: false
print.printer__.print_unwriteable_margin_bottom: 56
print.printer__.print_unwriteable_margin_left: 25
print.printer__.print_unwriteable_margin_right: 25
print.printer__.print_unwriteable_margin_top: 25
print.printer_Xerox_Phaser_6128MFP-N_(d5:83:d1).print_bgcolor: false
print.printer_Xerox_Phaser_6128MFP-N_(d5:83:d1).print_bgimages: false
print.printer_Xerox_Phaser_6128MFP-N_(d5:83:d1).print_duplex: -437918235
print.printer_Xerox_Phaser_6128MFP-N_(d5:83:d1).print_edge_bottom: 0
print.printer_Xerox_Phaser_6128MFP-N_(d5:83:d1).print_edge_left: 0
print.printer_Xerox_Phaser_6128MFP-N_(d5:83:d1).print_edge_right: 0
print.printer_Xerox_Phaser_6128MFP-N_(d5:83:d1).print_edge_top: 0
print.printer_Xerox_Phaser_6128MFP-N_(d5:83:d1).print_evenpages: true
print.printer_Xerox_Phaser_6128MFP-N_(d5:83:d1).print_footercenter:
print.printer_Xerox_Phaser_6128MFP-N_(d5:83:d1).print_footerleft: &PT
print.printer_Xerox_Phaser_6128MFP-N_(d5:83:d1).print_footerright: &D
print.printer_Xerox_Phaser_6128MFP-N_(d5:83:d1).print_headercenter:
print.printer_Xerox_Phaser_6128MFP-N_(d5:83:d1).print_headerleft: &T
print.printer_Xerox_Phaser_6128MFP-N_(d5:83:d1).print_headerright: &U
print.printer_Xerox_Phaser_6128MFP-N_(d5:83:d1).print_in_color: true
print.printer_Xerox_Phaser_6128MFP-N_(d5:83:d1).print_margin_bottom: 0.5
print.printer_Xerox_Phaser_6128MFP-N_(d5:83:d1).print_margin_left: 0.5
print.printer_Xerox_Phaser_6128MFP-N_(d5:83:d1).print_margin_right: 0.5
print.printer_Xerox_Phaser_6128MFP-N_(d5:83:d1).print_margin_top: 0.5
print.printer_Xerox_Phaser_6128MFP-N_(d5:83:d1).print_oddpages: true
print.printer_Xerox_Phaser_6128MFP-N_(d5:83:d1).print_orientation: 0
print.printer_Xerox_Phaser_6128MFP-N_(d5:83:d1).print_page_delay: 50
print.printer_Xerox_Phaser_6128MFP-N_(d5:83:d1).print_paper_data: 0
print.printer_Xerox_Phaser_6128MFP-N_(d5:83:d1).print_paper_height: 11.00
print.printer_Xerox_Phaser_6128MFP-N_(d5:83:d1).print_paper_name: na-letter
print.printer_Xerox_Phaser_6128MFP-N_(d5:83:d1).print_paper_size_unit: 0
print.printer_Xerox_Phaser_6128MFP-N_(d5:83:d1).print_paper_width: 8.50
print.printer_Xerox_Phaser_6128MFP-N_(d5:83:d1).print_resolution: -437918235
print.printer_Xerox_Phaser_6128MFP-N_(d5:83:d1).print_reversed: false
print.printer_Xerox_Phaser_6128MFP-N_(d5:83:d1).print_scaling: 1.00
print.printer_Xerox_Phaser_6128MFP-N_(d5:83:d1).print_shrink_to_fit: true
print.printer_Xerox_Phaser_6128MFP-N_(d5:83:d1).print_to_file: false
print.printer_Xerox_Phaser_6128MFP-N_(d5:83:d1).print_unwriteable_margin_bottom: 16
print.printer_Xerox_Phaser_6128MFP-N_(d5:83:d1).print_unwriteable_margin_left: 16
print.printer_Xerox_Phaser_6128MFP-N_(d5:83:d1).print_unwriteable_margin_right: 16
print.printer_Xerox_Phaser_6128MFP-N_(d5:83:d1).print_unwriteable_margin_top: 16
privacy.donottrackheader.enabled: true
security.sandbox.content.tempDirSuffix: {2de16432-0212-f343-9f59-b30b17062626}
security.tls.version.min: 0
services.sync.declinedEngines: addons
services.sync.engine.addons: false
services.sync.engine.bookmarks.validation.lastTime: 1499634197
services.sync.engine.passwords: false
services.sync.engine.prefs.modified: false
services.sync.lastPing: 1499612087
services.sync.lastSync: Sun Jul 09 2017 22:36:10 GMT-0400 (EDT)
storage.vacuum.last.index: 1
storage.vacuum.last.places.sqlite: 1498003159

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

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

JavaScript
----------

Incremental GC: true

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

Activated: false
Prevent Accessibility: 0

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

NSPR
Expected minimum version: 4.16 Beta
Version in use: 4.16 Beta

NSS
Expected minimum version: 3.32 Beta
Version in use: 3.32 Beta

NSSSMIME
Expected minimum version: 3.32 Beta
Version in use: 3.32 Beta

NSSSSL
Expected minimum version: 3.32 Beta
Version in use: 3.32 Beta

NSSUTIL
Expected minimum version: 3.32 Beta
Version in use: 3.32 Beta

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

Sandbox
-------

Content Process Sandbox Level: 3
Effective Content Process Sandbox Level: 3
That gfx-textures-peak (session max value) is high but gfx-textures (current usage) is low, is fine on its own.  Interesting that resident-peak is high and so is resident, in comparison though.  Do we have a workflow for this report?
Flags: needinfo?(milan)
Whiteboard: [MemShrink] → [MemShrink][gfx-noted]
(Reporter)

Comment 3

3 months ago
The work flow was "open laptop after having it closed for a few days".  I believe macos sierra will periodically wake up in this state to while on A/C adapter to run periodic maintenance.  My guess is something went bad for us during these wakeups.
(Reporter)

Comment 4

3 months ago
Oh, and I was wondering if we thought we had free'd the textures but still had them mapped somehow, etc.  The RSS suggests maybe our gfx-textures entry is lying.
(Reporter)

Comment 5

3 months ago
It seems likely this is a dupe of bug 1379139.
Status: NEW → RESOLVED
Last Resolved: 3 months ago
Resolution: --- → DUPLICATE
Duplicate of bug: 1379139
You need to log in before you can comment on or make changes to this bug.