memory error should log as error