Is there a limit on how many lines of data a [coll] table can hold??

Rob Chafer's icon

As per title, does any one know if there is a limit on how many lines of data a [coll] table can hold?? I am working with an EEG headset that is chucking out a thousand sets of data every 2.3 seconds and need to route the information into a variety of different [coll] tables for use later. My worry is that if there is an upper limit on how many lines of data can be stored in the table, I am likely to hit that rapidly.

Many thanks -
Rob

andrea agostini's icon

Hi,
good question.
I was about to say that there is no hard limit, as (if I'm not wrong) it's implemented as a linked list, which in principle means that as long as you have RAM left you should be ok.
But this appears to hang Max on my machine, so I'm not so sure anymore:

Max Patch
Copy patch and select New From Clipboard in Max.

It might also just be that, as access gets exponentially slower as the data set grows bigger, Max is still working and it's just a matter of waiting, but I don't feel like trying now...

Anyway, if the data you have to store are just floats, have you considered buffer~?

Hope this helps,
aa

Rob Chafer's icon

Hi aa, thank you and sure it helps!

I will test it out when I get a chance. I have thinned the data stream so just getting now one piece of data per 10 seconds at the moment. Once thats working properly I will scale it up and see how it handles greater data quantities.

Not sure about buffer~ but again will have a look.

Once more your thoughts gratefully appreciated,

Rob