display memory on debug builds only