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

Introduction

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

Cause

The ListBox control in this case uses a data template that has data bindings in a Silverlight for Windows Embedded Compact 2013 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 heap memory usage increases over time.

Software update information

Download information

Windows Embedded Compact 2013 Monthly Update (May 2015) is now available from Microsoft. To download this monthly update, go to Microsoft OEM Online or MyOEM.

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.

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 name

File size

Date

Time

Path

Xamlruntime_dt.dll

1,133,232

09-Dec-2014

10:06

Public\Common\Oak\Bin\I386

Xamlruntimecore_dt.dll

2,415,280

09-Dec-2014

10:06

Public\Common\Oak\Bin\I386

Xamlruntime.map

2,416,536

02-Jun-2015

11:56

Public\Common\Oak\Target\X86\Checked

Xamlruntimecore.map

5,330,358

02-Jun-2015

11:56

Public\Common\Oak\Target\X86\Checked

Xamlruntimecore.rel

5,787,462

02-Jun-2015

11:56

Public\Common\Oak\Target\X86\Checked

Xamlruntime.rel

2,126,850

02-Jun-2015

11:56

Public\Common\Oak\Target\X86\Checked

Xamlruntimecore.dll

6,316,032

02-Jun-2015

11:56

Public\Common\Oak\Target\X86\Checked

Xamlruntime.dll

1,167,360

02-Jun-2015

11:56

Public\Common\Oak\Target\X86\Checked

Xamlruntime.map

1,373,735

02-Jun-2015

11:56

Public\Common\Oak\Target\X86\Retail

Xamlruntimecore.map

1,811,161

02-Jun-2015

11:56

Public\Common\Oak\Target\X86\Retail

Xamlruntimecore.rel

1,844,071

02-Jun-2015

11:56

Public\Common\Oak\Target\X86\Retail

Xamlruntime.rel

1,679,264

02-Jun-2015

11:56

Public\Common\Oak\Target\X86\Retail

Xamlruntimecore.dll

2,879,488

02-Jun-2015

11:56

Public\Common\Oak\Target\X86\Retail

Xamlruntime.dll

806,912

02-Jun-2015

11:56

Public\Common\Oak\Target\X86\Retail

Xamlruntime.map

2,584,646

02-Jun-2015

11:56

Public\Common\Oak\Target\X86\Debug

Xamlruntimecore.map

5,373,357

02-Jun-2015

11:55

Public\Common\Oak\Target\X86\Debug

Xamlruntimecore.rel

4,079,130

02-Jun-2015

11:55

Public\Common\Oak\Target\X86\Debug

Xamlruntime.rel

2,339,333

02-Jun-2015

11:56

Public\Common\Oak\Target\X86\Debug

Xamlruntimecore.dll

7,512,064

02-Jun-2015

11:55

Public\Common\Oak\Target\X86\Debug

Xamlruntime.dll

1,687,552

02-Jun-2015

11:56

Public\Common\Oak\Target\X86\Debug

Xamlruntime.map

5,667,243

02-Jun-2015

11:57

Public\Common\Oak\Target\Armv7\Checked

Xamlruntimecore.map

14,902,632

02-Jun-2015

11:57

Public\Common\Oak\Target\Armv7\Checked

Xamlruntimecore.rel

2,826,533

02-Jun-2015

11:57

Public\Common\Oak\Target\Armv7\Checked

Xamlruntime.rel

2,125,864

02-Jun-2015

11:57

Public\Common\Oak\Target\Armv7\Checked

Xamlruntimecore.dll

6,107,136

02-Jun-2015

11:57

Public\Common\Oak\Target\Armv7\Checked

Xamlruntime.dll

1,228,800

02-Jun-2015

11:57

Public\Common\Oak\Target\Armv7\Checked

Xamlruntime.map

2,421,811

02-Jun-2015

11:56

Public\Common\Oak\Target\Armv7\Retail

Xamlruntimecore.map

3,969,335

02-Jun-2015

11:56

Public\Common\Oak\Target\Armv7\Retail

Xamlruntimecore.rel

1,638,780

02-Jun-2015

11:56

Public\Common\Oak\Target\Armv7\Retail

Xamlruntime.rel

1,444,016

02-Jun-2015

11:56

Public\Common\Oak\Target\Armv7\Retail

Xamlruntimecore.dll

2,789,376

02-Jun-2015

11:56

Public\Common\Oak\Target\Armv7\Retail

Xamlruntime.dll

765,952

02-Jun-2015

11:56

Public\Common\Oak\Target\Armv7\Retail

Xamlruntime.map

9,791,138

02-Jun-2015

11:56

Public\Common\Oak\Target\Armv7\Debug

Xamlruntimecore.map

20,735,774

02-Jun-2015

11:56

Public\Common\Oak\Target\Armv7\Debug

Xamlruntimecore.rel

2,572,841

02-Jun-2015

11:55

Public\Common\Oak\Target\Armv7\Debug

Xamlruntime.rel

2,121,746

02-Jun-2015

11:56

Public\Common\Oak\Target\Armv7\Debug

Xamlruntimecore.dll

7,467,008

02-Jun-2015

11:55

Public\Common\Oak\Target\Armv7\Debug

Xamlruntime.dll

1,773,568

02-Jun-2015

11:56

Public\Common\Oak\Target\Armv7\Debug

Xamlruntime_dt.dll

1,133,232

09-Dec-2014

10:06

Program files\Microsoft visual studio 11.0\Vc\Vcwizards\Windowsembeddedxamltools

Xamlruntimecore_dt.dll

2,415,280

09-Dec-2014

10:06

Program files\Microsoft visual studio 11.0\Vc\Vcwizards\Windowsembeddedxamltools


Status

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

References

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

Need more help?

Expand your skills
Explore Training
Get new features first
Join Microsoft Insiders

Was this information helpful?

Thank you for your feedback!

Thank you for your feedback! It sounds like it might be helpful to connect you to one of our Office support agents.

×