<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi Ben,<div><br></div><div>Only when running a 64-bit version of your hardware/operating system and 64-bit Matlab can you address enough RAM to import huge files - that might be a factor if you are experiencing different behavior on different machines.   I can only get Windows/Mac 32-bit machines to import about 350-400mb files max, either .bdf or .cnt.</div><div><br></div><div>Out of memory is a common problem when importing from other formats, b/c if i recall correctly Matlab makes more than one copy of the data on import.  Not sure if it's true with the bdf import you are using (there are a couple in EEGLab, and I don't know what either is doing)</div><div><br></div><div>Various workarounds exist, like first selecting a subset of channels, segmenting the recording (and then importing and appending .sets), and discarding the DC information to convert your .bdf to .edf - this is assuming your bdf is BioSemi.   If so, grab the Converter utility here <a href="http://www.biosemi.com/download.htm">http://www.biosemi.com/download.htm</a> and "convert" your file.  this will discard the offset (default settings should be fine) and the resulting file will be a lot smaller and easier to import.  </div><div><br></div><div>You may want to detrend your data afterwards to ensure the the offset is cleanly out (using something like <span class="Apple-style-span" style="font-family: Arial; ">EEG.data = detrend(EEG.data); )  I've not seen it make much difference in my data, but have also seen it recommended with importing BioSemi data. </span></div><div><br></div><div><span class="Apple-style-span" style="font-family: Arial; "></span>There are also Reducer and Cropper tools available at that same link for channel/time selection, and a Decimator tool that can reduce the sampling rate if you recorded at some larger than necessary</div><div><br></div><div>Best,</div><div>Andrew</div><div><br></div><div><br><div><div>On Nov 9, 2010, at 6:18 AM, Benjamin Kuhr wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>Hi,<br><br>I tried to import a large *.bdf file, 614 MB. I get the "Out of memory" -<br>message, but not on all computers and for some reason it seems as it does<br>not depend on the actual memory. It works on a weaker system, but not on<br>the current one, which has 3.8 GiB of memory and a Intel Core 2 Duo CPU<br>R7500 @ 2.93 GHz.<br><br>Even on identical systems with the same hardware and same software I can<br>load the file only on one of them. I tired it with Windows XP and Ubuntu<br>10 on the system mentioned above, no difference. Any suggestions?<br><br>Thanks in advance<br>Benjamin Kuhr<br><br><br>_______________________________________________<br>Eeglablist page: <a href="http://sccn.ucsd.edu/eeglab/eeglabmail.html">http://sccn.ucsd.edu/eeglab/eeglabmail.html</a><br>To unsubscribe, send an empty email to <a href="mailto:eeglablist-unsubscribe@sccn.ucsd.edu">eeglablist-unsubscribe@sccn.ucsd.edu</a><br>For digest mode, send an email with the subject "set digest mime" to <a href="mailto:eeglablist-request@sccn.ucsd.edu">eeglablist-request@sccn.ucsd.edu</a><br></div></blockquote></div><br></div></body></html>