I printed allocated memory using a batchsize of 4 at every 5 step iteration. It constantly give 0 445350912 5 445350912 10 445350912 15 445350912 20 445350912 25 445350912 30 445350912 35 445350912 40 445350912 45 445350912 50 445350912 55 445350912 60 445350912 65 445350912 70 445350912 75 445350912 80 445350912 85 445350912 90 445350912 95 445350912 100 445350912