Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

FIX: Memory leak when you create and remove items from a ListBox control in a Silverlight for Windows Embedded Compact 7 application


View products that this article applies to.

Introduction

This article describes an issue that causes a memory leak when you create and remove items from a ListBox control in a Silverlight for Windows Embedded Compact 7 application. An update is available to resolve this issue. Before you install this update, all previously issued updates for this product must be installed.

↑ Back to the top


Symptoms

The Listbox control in this case uses a data template with data bindings in a Silverlight for Windows Embedded Compact 7 application. If you repeatedly create and remove items from the ListBox control, a memory leak occurs that eventually causes your program to crash. And if you use Performance Monitor to check the program, you find that the Heap Memory usage increases over time.

↑ Back to the top


Resolution

Software update information

A supported software update is now available from Microsoft as Windows Embedded Compact 7 Monthly Update (March 2015).

Note This Windows Embedded Compact 7 Monthly Update is available for download from the following Microsoft Download Center website:

Prerequisites

This update is supported only if all previously issued updates for this product have also been installed.

Restart requirement

After you apply this update, you must perform a clean build of the whole platform. To do this, use one of the following methods:
  • On the Build menu, click Clean Solution, and then click Build Solution.
  • On the Build menu, click Rebuild Solution.
You do not have to restart the computer after you apply this software update.

Update replacement information

This update does not replace any other updates.

File information
The English version of this software update package has the file attributes (or later file attributes) that are listed in the following table. The dates and times for these files are listed in Coordinated Universal Time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time item in Control Panel.

Files that are included in this update package
File nameFile sizeDateTimePath
Xamlruntime.dll782,33628-Feb-201503:20Public\Common\Oak\Target\X86\Retail
Xamlruntimecore.dll2,850,81628-Feb-201503:19Public\Common\Oak\Target\X86\Retail
Xamlruntime.dll1,605,63228-Feb-201503:20Public\Common\Oak\Target\X86\Debug
Xamlruntimecore.dll7,286,78428-Feb-201503:20Public\Common\Oak\Target\X86\Debug
Xamlruntime.dll1,064,96028-Feb-201503:20Public\Common\Oak\Target\X86\Checked
Xamlruntimecore.dll5,410,81628-Feb-201503:20Public\Common\Oak\Target\X86\Checked
Xamlruntime.dll987,13628-Feb-201503:21Public\Common\Oak\Target\Armv5\Retail
Xamlruntimecore.dll3,665,92028-Feb-201503:20Public\Common\Oak\Target\Armv5\Retail
Xamlruntime.dll2,244,60828-Feb-201503:20Public\Common\Oak\Target\Armv5\Debug
Xamlruntimecore.dll10,182,65628-Feb-201503:20Public\Common\Oak\Target\Armv5\Debug
Xamlruntime.dll1,376,25628-Feb-201503:21Public\Common\Oak\Target\Armv5\Checked
Xamlruntimecore.dll7,684,09628-Feb-201503:21Public\Common\Oak\Target\Armv5\Checked
Xamlruntime.dll974,84828-Feb-201503:21Public\Common\Oak\Target\Armv6\Retail
Xamlruntimecore.dll3,575,80828-Feb-201503:21Public\Common\Oak\Target\Armv6\Retail
Xamlruntime.dll2,236,41628-Feb-201503:20Public\Common\Oak\Target\Armv6\Debug
Xamlruntimecore.dll10,129,40828-Feb-201503:20Public\Common\Oak\Target\Armv6\Debug
Xamlruntime.dll1,363,96828-Feb-201503:21Public\Common\Oak\Target\Armv6\Checked
Xamlruntimecore.dll7,610,36828-Feb-201503:21Public\Common\Oak\Target\Armv6\Checked
Xamlruntime.dll970,75228-Feb-201503:21Public\Common\Oak\Target\Armv7\Retail
Xamlruntimecore.dll3,567,61628-Feb-201503:21Public\Common\Oak\Target\Armv7\Retail
Xamlruntime.dll2,228,22428-Feb-201503:20Public\Common\Oak\Target\Armv7\Debug
Xamlruntimecore.dll10,055,68028-Feb-201503:20Public\Common\Oak\Target\Armv7\Debug
Xamlruntime.dll1,355,77628-Feb-201503:21Public\Common\Oak\Target\Armv7\Checked
Xamlruntimecore.dll7,548,92828-Feb-201503:21Public\Common\Oak\Target\Armv7\Checked
Xamlruntime.dll1,241,08828-Feb-201503:21Public\Common\Oak\Target\Mipsii\Retail
Xamlruntimecore.dll4,251,64828-Feb-201503:21Public\Common\Oak\Target\Mipsii\Retail
Xamlruntime.dll2,527,23228-Feb-201503:20Public\Common\Oak\Target\Mipsii\Debug
Xamlruntimecore.dll10,838,01628-Feb-201503:19Public\Common\Oak\Target\Mipsii\Debug
Xamlruntime.dll1,716,22428-Feb-201503:20Public\Common\Oak\Target\Mipsii\Checked
Xamlruntimecore.dll8,126,46428-Feb-201503:20Public\Common\Oak\Target\Mipsii\Checked
Xamlruntime.dll1,236,99228-Feb-201503:20Public\Common\Oak\Target\Mipsii_fp\Retail
Xamlruntimecore.dll4,202,49628-Feb-201503:20Public\Common\Oak\Target\Mipsii_fp\Retail
Xamlruntime.dll2,519,04028-Feb-201503:20Public\Common\Oak\Target\Mipsii_fp\Debug
Xamlruntimecore.dll10,825,72828-Feb-201503:19Public\Common\Oak\Target\Mipsii_fp\Debug
Xamlruntime.dll1,708,03228-Feb-201503:20Public\Common\Oak\Target\Mipsii_fp\Checked
Xamlruntimecore.dll8,089,60028-Feb-201503:20Public\Common\Oak\Target\Mipsii_fp\Checked
Xamlruntime.dll925,69628-Feb-201503:20Public\Common\Oak\Target\Sh4\Retail
Xamlruntimecore.dll3,223,55228-Feb-201503:20Public\Common\Oak\Target\Sh4\Retail
Xamlruntime.dll2,019,32828-Feb-201503:20Public\Common\Oak\Target\Sh4\Debug
Xamlruntimecore.dll8,359,93628-Feb-201503:20Public\Common\Oak\Target\Sh4\Debug
Xamlruntime.dll1,269,76028-Feb-201503:20Public\Common\Oak\Target\Sh4\Checked
Xamlruntimecore.dll6,455,29628-Feb-201503:20Public\Common\Oak\Target\Sh4\Checked
Xamlruntimecore_dt.dll2,433,02401-Dec-201420:42Public\Common\Oak\Bin\I386

↑ Back to the top


References

Learn about the terminology that Microsoft uses to describe software updates.

↑ Back to the top


Keywords: kbqfe, kbfix, kbnotautohotfix, kbpubtypekc, kbexpertiseinter, kbsurveynew, atdownload, kb

↑ Back to the top

Article Info
Article ID : 3026397
Revision : 1
Created on : 1/7/2017
Published on : 4/14/2015
Exists online : False
Views : 164