beifen / neurorighter

Automatically exported from code.google.com/p/neurorighter
0 stars 0 forks source link

random buffer overruns and out of memory exceptions #16

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. unable to reproduce reliably; typically occurs when recording .raw and 
.salpa traces
2.
3.

What is the expected output? What do you see instead?

What version of the product are you using? On what operating system?
rev 340; xp

Please provide any additional information below.

Original issue reported on code.google.com by chadwick...@gmail.com on 13 Jul 2011 at 9:59

GoogleCodeExporter commented 9 years ago
This may be computer related.

Buffer overruns - I set the DAQ buffer size to 10X what it nominally is at 
25KHz. If your computer cant rip data fast enough for this huge buffer, 
something is wrong. Check CPU cycle time, close other applications.

Out of memory - Reduce the length of your persistent, on-board data buffer.

Original comment by jonathan...@gmail.com on 15 Jul 2011 at 4:34

GoogleCodeExporter commented 9 years ago
I'm going to mark this as resolved because 

1. It is related to the users computer, which we cannot control
2. We added hardware options to control the ADC and DAC polling speeds. Having 
more frequent reads will likely help because the callbacks that pile up when 
the computer is temporarily taxed will not be required to handle MBs worth of 
data. 

Original comment by jonathan...@gmail.com on 3 Apr 2012 at 3:45