xamarin/Xamarin.Forms

[Bug] GroupHeaderTemplate leaks Memory

Aperta

#6761 aperta il 3 lug 2019

 (5 commenti) (0 reazioni) (0 assegnatari)C# (1926 fork)batch import
a/listviewa/performancee/3 :clock3:help wantedin-progressp/iOS 🍎t/bug :bug:up-for-grabs

Metriche repository

Star
 (5644 stelle)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

Description

When I repeat that I add items to ListView with GroupHeaderTemplate and clear items, GC.GetTotalMemory(true) is increasing.

Steps to Reproduce

  1. Create ListView with GroupHeaderTemplate
  2. Add items and clear items.
  3. Repeat "2.".

Expected Behavior

GC.GetTotalMemory(true) dosen't increase.

Actual Behavior

GC.GetTotalMemory(true) increases.

Basic Information

  • Version with issue: 4.1.0.555618
  • Last known good version: I don't know
  • IDE: Visual Studio 2019 Professional
  • Platform Target Frameworks:
    • iOS: 12.3.1
  • Nuget Packages:
  • Affected Devices: iPod touch 6

Screenshots

sorry for this isn't specified format MomentAppCrashes.mp4.zip

Reproduction Link

MemoryTest.zip

Guida contributor