hide memory display in xaml release builds