kleinerm/Psychtoolbox-3 — pull request #32 by db87 (2013-06-28 18:20:48+00:00)
Title: USB-1208FS excessive memory usage fix

So when using the PsychToolbox with my 1208FS I noticed for large sampling rates and lengths of time that it crashed my computer and was consuming excessive amounts of RAM. It boiled down to the way that the find() output was being used, which was transforming the matrix from a N x Channels to a NxN matrix (depending on how many values were above 2048). I changed the way the indexing works and it seems to work well for me, no more crashes, much faster and little memory. I can get my sampling upto ~45kHz now easily. This was on Windows 8 x64 Matlab 2012.