Merge "Add feature flag for release snapshot memory actively." into main