Limit on ExternalCall Arguments?

According to the script reference, you can call a JS function on a web page and pass it multiple arguments. Those arguments can be arrays.

But it looks like there is a limit to the size of the arrays that can be passed. If I pass 5 arrays with 60 floats each, my JS function works correctly (plots graphs in a canvas on the web page). But if those 5 arrays contain 14,000 floats each, the JS function does not execute at all.

Unfortunately, the program generates data sets of only three sizes – 60, 14,000, and 43,000 data points – with nothing in between. So I don’t know exactly how big the array has to be to fail. Since I can’t change the size of the data sets, it doesn’t really matter.

I don’t even really know if the size of the arrays is the problem. That’s why I was wondering if there is indeed a limit to the size of the arguments passed. Or perhaps the limit is in the JS on the web page. Either way, it would be nice to know before I spend what I anticipate will be LOTS of time tracking this one down.

It looks like the amount of data that can be passed in an ExternalCall argument is pretty small. Passing 5 arrays with 720 elements each (3600 floats total) is still too big. But passing 5 arrays with 277 elements each (1385 floats total) works. I don’t really have the time to narrow it down any further.