prevent memory insufficiency