Calrification
Alagu Raja, October 10, 2016 - 7:57 am UTC
This array size does have anything to do with batch fetching. This is just a maximum number of records which we wish to initialize dynamically which is not going to change after execution of script. This is to avoid future expansion of array size due to increase in data volume.
October 11, 2016 - 12:33 am UTC
That is my point.
"This is to avoid future expansion of array size due to increase in data volume."
is asking for trouble. Because data volume is potentially infinite, and array sizes definitely arent.