Tool debug memory for wp8-xaml

I created class to show memory usage on screen.
I used it for debug memory leak, then I detected bug memory leak 4MB of cocos2dx-2.2.2 every time resume game by I press key home of device to running game foreground and press long key back of device to running game on background.
Hope it will be useful for anyone
Here’s how to use
add this code into function DrawingSurface_Loaded
LayoutRoot.Children.Add(new Utils.Usage());
P/s: I don’t know how to keep it always show on top, anyone help me fix it


Usage.xaml.zip (0.5 KB)


usage.xaml.cs.zip (0.7 KB)

Wow, thanks for sharing.