Camps. When there's too many for jail, camps are the first, best alternative.
Easily constructed and efficient, masses can be concentrated in them.