Yeah, the error has to do with how many arguments idl can accept. It caps out at 32766 character length. Instead I had to just write the array to a file and read that file inside the IDL script. Apparently you can't break up the array into separate lines either. IDL will throw an error.