[MINOR FIX]: The total memory allocation for certain kernels was overflowing the MaxInt value. Converting the memory allocation size variables to Long