-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
how to increase the OSC packet size ? #388
Comments
I don't have the code/context to look at, but I'm curious what sizeof() TTBoolean is. On some systems sizeof(bool) == sizeof(int), in which case this is over 32K in memory. Is this being allocated on the stack or the heap? What architecture are you on? That could make a difference? |
the size of the bundle doesn't seems to matter, I can't send 37 values in one shot either but I can send 2 int.
I'm on Ubuntu 64bit, but the code will run on RPi under Jessie soon. |
Now I'm using a return array to send the value to Max, but I have the same error. |
Casting uchar to int fix the issue |
when trying to send big TTBoolean array over OSC, I got :
what(): out of buffer memory
looking at the code it seems that the buffer size is computed from message and argument,
so I'm wondering why it fails with that exception ?
there are 17683 boolean to send in one bundle, yes that's huge, but I hope not impossible to transmit :-)
The text was updated successfully, but these errors were encountered: