Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Bug: Memory Leak in Details View #17468

Closed as duplicate of#4180
Closed as duplicate of#4180
@SemyonL

Description

Description

There is a memory leak when using Details View. Here is the list of snapshots I've got using profiler on preview version of the app.

# Type Count Size (B) Inclusive size (B)
1 Files.App.Views.Layouts.DetailsLayoutPage 1 1008 230648
2 Files.App.Views.Layouts.DetailsLayoutPage 11 11088 974472
3 Files.App.Views.Layouts.DetailsLayoutPage 11 11088 941184
4 Files.App.Views.Layouts.DetailsLayoutPage 22 22176 1785048
5 Files.App.Views.Layouts.DetailsLayoutPage 22 22176 1750928
6 Files.App.Views.Layouts.DetailsLayoutPage 33 33264 2897424
7 Files.App.Views.Layouts.DetailsLayoutPage 33 33264 2559384
8 Files.App.Views.Layouts.DetailsLayoutPage 44 44352 3555584
9 Files.App.Views.Layouts.DetailsLayoutPage 44 44352 3555944
10 Files.App.Views.Layouts.DetailsLayoutPage 55 55440 4209608
11 Files.App.Views.Layouts.DetailsLayoutPage 55 55440 4213368

First snapshot after the app is started and 1 tab is open. On even snapshots more tabs with details view are created, on odd snapshots tabs are closed, but as you may see from the table the memory is not freed. On the last snapshot I've closed the window, but the app was running in background, and memory is not freed.

Steps To Reproduce

  1. Open Files
  2. Open any folder in details view
  3. Duplicate the tab several (5-10) times
  4. Close tabs
  5. Repeat 2-4

Files Version

3.9.15.0

Windows Version

10.0.26120.5751

User ID

d46219e3-896b-483f-b7af-f95fd0051fa6

Log File

debug.log

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

        AltStyle によって変換されたページ (->オリジナル) /