Save memory when rdbSave and aofRewrite
fix getExpire