"PlayMoviesOnCube" example composition may slow down and crash on some older computers

Steps causing the bug to occur

  1. Run the “PlayMoviesOnCube” example composition on an older computer (e.g., 2009 MacBook Pro running 10.6).
  2. After a few seconds, the composition slows down and crashes.

How did the result differ from what you expected?

The composition should run at full framerate, and should not crash.

Other notes

  • Vuo version: 0.5.4

On some older computers, graphics rendering doesn’t keep up with event firing. Currently Vuo queues up incoming events, to be processed in the order they were received. However, if the events being fired include images, the system may run out of available physical memory and start swapping, leading to even slower processing and more enqueued events.

In Vuo 0.5.4, we added a fail-safe that causes a composition to self-destruct (crash) in case of such a chain-reaction texture meltdown, rather than permit more severe fallout (e.g., system hang).

This is a temporary solution until we implement the option to drop obsolete events rather than enqueue them.

In Vuo 0.7.0, we added the ability to drop obsolete events (right-click on trigger ports and select “Set Event Throttling”).