We investigated the reset breakdown phenomenon of HfOx-based resistive memory for reliable switching operation in a fully CMOS compatible stack. Through the understanding on the effect of electrode materials and device area, our findings show that observed failure is attributed to additional oxygen vacancies close to the electrode interface, where switching is occurred. Therefore, RuOx serving as an oxygen diffusion barrier was introduced to suppress the generation of unwanted oxygen vacancies by preventing out-diffusion of oxygen through the electrode. As a result, significantly enhanced breakdown strength in HfOx/RuOx stack is achieved and resulting in improved cycle endurance with larger on/off ratio.