We investigated giant flux jumps, caused by thermomagnetic avalanches, in two cylindrical samples of conventional NbTi-50% superconductor of the same diameter -14 mm, but of different heights -4 mm and 20 mm. We studied the influence of demagnetizing effects on the flux jumps occurrence, the amount of the magnetic flux entering the sample during the following jumps and on the flux jumps dynamics. The dynamics of the magnetic flux entering the sample is compared with the dynamics of the stray field.