FIX: Memory leak when an object that's created by the IXRApplication class is added to the element tree in an SWE application

Applies To
Windows Embedded Compact 7

Introduction

This article describes an issue that triggers a memory leak when an object that's created by the IXRApplication class is added into the element tree in an SWE application in Windows Embedded Compact 7. An update is available to resolve this issue. Before you install this update, all previously issued updates for this product must be installed.

Symptoms

You have a Silverlight for Windows Embedded (SWE) application on a device that's running Windows Embedded Compact 7. You use the IXRApplication class to create a custom user control object. If you use the object to call the GoToVisualState method and then call the SetChild function to add it to the element tree, a memory leak occurs.

Resolution

Software update information

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

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

Windows Embedded Compact 7 Updates

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 name File size Date Time Path
Xamlruntimecore_dt.dll 2,433,024 25-Jan-2016 10:17 Public\Common\Oak\Bin\I386
Xamlruntimecore.map 4,698,561 25-Jan-2016 10:22 Public\Common\Oak\Target\Mipsii\Checked
Xamlruntimecore.rel 7,510,854 25-Jan-2016 10:22 Public\Common\Oak\Target\Mipsii\Checked
Xamlruntimecore.dll 8,126,464 25-Jan-2016 10:22 Public\Common\Oak\Target\Mipsii\Checked
Xamlruntimecore.map 1,640,594 25-Jan-2016 10:23 Public\Common\Oak\Target\Mipsii\Retail
Xamlruntimecore.rel 3,483,073 25-Jan-2016 10:23 Public\Common\Oak\Target\Mipsii\Retail
Xamlruntimecore.dll 4,251,648 25-Jan-2016 10:23 Public\Common\Oak\Target\Mipsii\Retail
Xamlruntimecore.map 5,202,790 25-Jan-2016 10:21 Public\Common\Oak\Target\Mipsii\Debug
Xamlruntimecore.rel 10,297,406 25-Jan-2016 10:21 Public\Common\Oak\Target\Mipsii\Debug
Xamlruntimecore.dll 10,838,016 25-Jan-2016 10:21 Public\Common\Oak\Target\Mipsii\Debug
Xamlruntimecore.map 4,657,160 25-Jan-2016 10:22 Public\Common\Oak\Target\Armv6\Checked
Xamlruntimecore.rel 3,031,746 25-Jan-2016 10:22 Public\Common\Oak\Target\Armv6\Checked
Xamlruntimecore.dll 7,610,368 25-Jan-2016 10:22 Public\Common\Oak\Target\Armv6\Checked
Xamlruntimecore.map 1,626,640 25-Jan-2016 10:23 Public\Common\Oak\Target\Armv6\Retail
Xamlruntimecore.rel 1,991,545 25-Jan-2016 10:23 Public\Common\Oak\Target\Armv6\Retail
Xamlruntimecore.dll 3,575,808 25-Jan-2016 10:23 Public\Common\Oak\Target\Armv6\Retail
Xamlruntimecore.map 5,206,524 25-Jan-2016 10:22 Public\Common\Oak\Target\Armv6\Debug
Xamlruntimecore.rel 3,050,567 25-Jan-2016 10:21 Public\Common\Oak\Target\Armv6\Debug
Xamlruntimecore.dll 10,129,408 25-Jan-2016 10:21 Public\Common\Oak\Target\Armv6\Debug
Xamlruntimecore.map 4,851,073 25-Jan-2016 10:21 Public\Common\Oak\Target\X86\Checked
Xamlruntimecore.rel 3,023,423 25-Jan-2016 10:21 Public\Common\Oak\Target\X86\Checked
Xamlruntimecore.dll 5,410,816 25-Jan-2016 10:21 Public\Common\Oak\Target\X86\Checked
Xamlruntimecore.map 1,795,192 25-Jan-2016 10:21 Public\Common\Oak\Target\X86\Retail
Xamlruntimecore.rel 1,877,227 25-Jan-2016 10:21 Public\Common\Oak\Target\X86\Retail
Xamlruntimecore.dll 2,850,816 25-Jan-2016 10:21 Public\Common\Oak\Target\X86\Retail
Xamlruntimecore.map 5,210,041 25-Jan-2016 10:22 Public\Common\Oak\Target\X86\Debug
Xamlruntimecore.rel 4,019,167 25-Jan-2016 10:22 Public\Common\Oak\Target\X86\Debug
Xamlruntimecore.dll 7,286,784 25-Jan-2016 10:22 Public\Common\Oak\Target\X86\Debug
Xamlruntimecore.map 4,654,529 25-Jan-2016 10:22 Public\Common\Oak\Target\Sh4\Checked
Xamlruntimecore.rel 3,747,901 25-Jan-2016 10:22 Public\Common\Oak\Target\Sh4\Checked
Xamlruntimecore.dll 6,455,296 25-Jan-2016 10:22 Public\Common\Oak\Target\Sh4\Checked
Xamlruntimecore.map 1,633,300 25-Jan-2016 10:22 Public\Common\Oak\Target\Sh4\Retail
Xamlruntimecore.rel 2,367,675 25-Jan-2016 10:22 Public\Common\Oak\Target\Sh4\Retail
Xamlruntimecore.dll 3,223,552 25-Jan-2016 10:22 Public\Common\Oak\Target\Sh4\Retail
Xamlruntimecore.map 5,198,495 25-Jan-2016 10:23 Public\Common\Oak\Target\Sh4\Debug
Xamlruntimecore.rel 4,411,363 25-Jan-2016 10:23 Public\Common\Oak\Target\Sh4\Debug
Xamlruntimecore.dll 8,359,936 25-Jan-2016 10:23 Public\Common\Oak\Target\Sh4\Debug
Xamlruntimecore.map 4,703,034 25-Jan-2016 10:22 Public\Common\Oak\Target\Mipsii_fp\Checked
Xamlruntimecore.rel 7,386,299 25-Jan-2016 10:22 Public\Common\Oak\Target\Mipsii_fp\Checked
Xamlruntimecore.dll 8,089,600 25-Jan-2016 10:22 Public\Common\Oak\Target\Mipsii_fp\Checked
Xamlruntimecore.map 1,644,537 25-Jan-2016 10:22 Public\Common\Oak\Target\Mipsii_fp\Retail
Xamlruntimecore.rel 3,359,301 25-Jan-2016 10:22 Public\Common\Oak\Target\Mipsii_fp\Retail
Xamlruntimecore.dll 4,202,496 25-Jan-2016 10:22 Public\Common\Oak\Target\Mipsii_fp\Retail
Xamlruntimecore.map 5,207,382 25-Jan-2016 10:22 Public\Common\Oak\Target\Mipsii_fp\Debug
Xamlruntimecore.rel 10,223,514 25-Jan-2016 10:21 Public\Common\Oak\Target\Mipsii_fp\Debug
Xamlruntimecore.dll 10,825,728 25-Jan-2016 10:21 Public\Common\Oak\Target\Mipsii_fp\Debug
Xamlruntimecore.map 4,655,735 25-Jan-2016 10:22 Public\Common\Oak\Target\Armv7\Checked
Xamlruntimecore.rel 3,031,949 25-Jan-2016 10:22 Public\Common\Oak\Target\Armv7\Checked
Xamlruntimecore.dll 7,548,928 25-Jan-2016 10:22 Public\Common\Oak\Target\Armv7\Checked
Xamlruntimecore.map 1,625,441 25-Jan-2016 10:22 Public\Common\Oak\Target\Armv7\Retail
Xamlruntimecore.rel 1,991,545 25-Jan-2016 10:22 Public\Common\Oak\Target\Armv7\Retail
Xamlruntimecore.dll 3,567,616 25-Jan-2016 10:22 Public\Common\Oak\Target\Armv7\Retail
Xamlruntimecore.map 5,206,525 25-Jan-2016 10:22 Public\Common\Oak\Target\Armv7\Debug
Xamlruntimecore.rel 3,050,132 25-Jan-2016 10:22 Public\Common\Oak\Target\Armv7\Debug
Xamlruntimecore.dll 10,055,680 25-Jan-2016 10:22 Public\Common\Oak\Target\Armv7\Debug
Xamlruntimecore.map 4,650,292 25-Jan-2016 10:22 Public\Common\Oak\Target\Armv5\Checked
Xamlruntimecore.rel 3,053,438 25-Jan-2016 10:22 Public\Common\Oak\Target\Armv5\Checked
Xamlruntimecore.dll 7,684,096 25-Jan-2016 10:22 Public\Common\Oak\Target\Armv5\Checked
Xamlruntimecore.map 1,620,597 25-Jan-2016 10:22 Public\Common\Oak\Target\Armv5\Retail
Xamlruntimecore.rel 2,009,728 25-Jan-2016 10:22 Public\Common\Oak\Target\Armv5\Retail
Xamlruntimecore.dll 3,665,920 25-Jan-2016 10:22 Public\Common\Oak\Target\Armv5\Retail
Xamlruntimecore.map 5,200,013 25-Jan-2016 10:22 Public\Common\Oak\Target\Armv5\Debug
Xamlruntimecore.rel 3,072,926 25-Jan-2016 10:22 Public\Common\Oak\Target\Armv5\Debug
Xamlruntimecore.dll 10,182,656 25-Jan-2016 10:22 Public\Common\Oak\Target\Armv5\Debug
Xamlruntimecore_dt.dll 2,433,024 25-Jan-2016 10:17 Program files\Microsoft visual studio 9.0\Vc\Vcwizards\Windowsembeddedsilverlighttools

      

References

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