Added menory limit