allocated memory logging