adding mem limit