non-portable, debugging only print memory usage looking for leak