I am struggling with a relatively simple problem: I created a max external in C that outputs among others a dictionary containing big float matrices (typically >50000x3). Those matrices are currently stored as three float arrays inside the dictionary, one for each column. When the size of the matrix remains "small" (tipycally less than 40000), everythings goes ok. But when the number of lines is too big, max crashes with the "Attempting excessively large memory allocation" in debug mode (Guard Malloc is on on Xcode).
I guess that the problem comes from the fact that a dictionary is not really made to handle such big amounts of data.
So my question: what's the best way to handle this, i.e. to pass big amounts of data to Max from the objects? My first idea was to create a Jitter matrix, but I did not find anywhere how to imbed a jitter matrix inside a dictionary in C. Is it possible? Does my external needs to be a MOP object for that? If someone could provide me some sample code, this would be very helpful.