log memory usage periodically on Windows Mobile