memory management function
exposing default batch size
execute scalar handling nullable types