Why does my memory stop the discharge process?