xamarin/Xamarin.Forms

[Bug] GroupHeaderTemplate leaks Memory

Ouverte

#6 761 ouverte le 3 juil. 2019

 (5 commentaires) (0 réaction) (0 personne assignée)C# (1 926 forks)batch import
a/listviewa/performancee/3 :clock3:help wantedin-progressp/iOS 🍎t/bug :bug:up-for-grabs

Métriques du dépôt

Stars
 (5 644 étoiles)
Métriques de merge PR
 (Aucune PR mergée en 30 j)

Description

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

Guide contributeur