xamarin/Xamarin.Forms

[Bug] GroupHeaderTemplate leaks Memory

开放

#6,761 创建于 2019年7月3日

 (5 条评论) (0 个反应) (0 位负责人)C# (1,926 个派生)batch import
a/listviewa/performancee/3 :clock3:help wantedin-progressp/iOS 🍎t/bug :bug:up-for-grabs

仓库指标

星标
 (5,644 个星标)
PR 合并指标
 (30 天内没有已合并 PR)

描述

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

贡献者指南