Stress testing

Apr 24, 2013 at 2:01pm

Stress testing

Hello everybody,

I put up a very simple patch which roughly simulates the real situation I wish to achieve (tracking a point in space and drawing a line). Here it is:

– Pasted Max Patch, click to expand. –

Now, I’m sending pseudo-random values to at 30 hz interval, simulating the behaviour of a tracking system. The values are given to as strokepoints.
The first issue is: if I let the patch go, the framerate drops in less than 30 seconds, then Max crashes. Maybe too many strokepoints?
The second issue is: if I let the patch go for a while (about 15 secs.), and then I send the “endstroke” message, Max crashes immediately.

Is there anything I can do (apart from trying to reduce the random values’ frequency)?

System Info:
Max 6.1.2 on MBP late 2009 (NVIDIA GeForce 9600M GT), Mac OS X 10.6.8

Apr 24, 2013 at 6:18pm

you still have to worry about running out of memory, but performs much better than for this kind of thing.

– Pasted Max Patch, click to expand. –
Apr 25, 2013 at 8:43am

Thank you Rob, this solution is much more stable.


You must be logged in to reply to this topic.