The invention relates to a plant and a method for continuous production of starch-, fat- or protein-based bulk human or animal foodstuffs, or technical intermediates from a starch-, fat- or protein-based water-containing mass. The plant comprise the following sequence of regions along which the mass may be transported: a first region ( 2, 1, 7 a), in which mechanical or thermal energy is introduced, a second region ( 4; 7 b), in which a pressure builds up and a third region ( 6 ) to accommodate the discharged mass, whereby a forming unit ( 5 ) is arranged between the second region ( 4; 7 b) and the third region ( 6 ). According to the invention, the plant comprises an adjustable barrier ( 3 ), between the first region ( 2; 1, 7 a) and the second region ( 4; 7 b) restricting the transport of the mass and a measuring device (S) is provided in the third region ( 6 ) by means of which a product parameter may be determined.