Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Finding memory leaks in a managed Win8 metro app?

I'm currently working on a metro game for Windows 8 using C# and SharpDX. The project is going well, but recently there's been a need to start tracking down memory leaks and I'm not really sure where to begin.

The built in memory profiler in Visual Studio 11 doesn't work for metro apps yet, WinDBG can't seem to connect to metro apps (unless I'm using it incorrectly), and I'm having a hard time finding any information about looking at managed allocations in .NET 4.5 for metro.

Does anyone have any experience with this? Is there a good place to start looking? Has anyone had success with tools to help detect memory leaks in metro apps?

like image 880
Ben Smith Avatar asked Apr 03 '12 14:04

Ben Smith


1 Answers

Looks like I could actually use WinDbg, it just wasn't working with invasive mode. My fault.

like image 91
Ben Smith Avatar answered Sep 20 '22 18:09

Ben Smith