Add some debugging for a memory usage issue during file syncing