Fixes issue with chunk size on darwin and linux

Darwin can support 5000. Linux can only support aprox 2500, this will be default of everything else.