Thank you all for your kind replies! <div><br><div>Solution I implemented: </div><div>I have used 'decimate' within matlab to create a downsampling factor function wherein I can load my raw EEG data file and then use this function to decrease my sampling rate prior to importing to EEGLAB. I will work with the EEGLAB 12 as well! </div>
<div><br></div><div>Regards,</div><div><br></div><div>--Dwight--<br><br><div class="gmail_quote">On Sun, Sep 30, 2012 at 1:21 PM, Arnaud Delorme <span dir="ltr"><<a href="mailto:arno@ucsd.edu" target="_blank">arno@ucsd.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Dear Dwight,<br>
<br>
try out EEGLAB 12 (currently requires SVN download but you may wait one or two weeks until we release a zip file) as it has full memory mapping implementation. This should solve most of the memory errors.<br>
Best,<br>
<br>
Arno<br>
<div><div><br>
On 25 Sep 2012, at 05:35, Matthew Zivot wrote:<br>
<br>
> I played around with converting the data to a unsigned 16bit integer<br>
> (unit16). This greatly reduced the storage size of each file, which is<br>
> currently read in as a double. As far as I am aware, EEG polarity is<br>
> always positive, and less than 2^16.<br>
><br>
> Quoting Jim Parkinson <<a href="mailto:jimparkinson@me.com" target="_blank">jimparkinson@me.com</a>>:<br>
><br>
>> Matlab is pretty ropey at memory management. What's more, if you're<br>
>> running 32 bit Matlab, the maximum physical memory it can use, i<br>
>> think, 4gb, irrespective of how much your machine has. So my short<br>
>> answer (and the most effective long term, IMO) is to get more RAM<br>
>> and 64 bit Matlab. The former is dead cheap these days, the latter<br>
>> not so, I'm afraid! :-)<br>
>><br>
>><br>
>> ------------------------------------------------<br>
>> Dr Jim Parkinson, PhD<br>
>><br>
>> Postdoctoral Researcher,<br>
>> Body and Action Group,<br>
>> Institute of Cognitive Neuroscience,<br>
>> UCL,<br>
>> Alexandra House<br>
>> 17 Queen Square<br>
>> London WC1N 3AR<br>
>><br>
>> Tel: <a href="tel:%2B44%20207679%205431" value="+442076795431" target="_blank">+44 207679 5431</a><br>
>><br>
>> <a href="mailto:jimparkinson@me.com" target="_blank">jimparkinson@me.com</a><br>
>> <a href="mailto:jim.parkinson@ucl.ac.uk" target="_blank">jim.parkinson@ucl.ac.uk</a><br>
>><br>
>> On 21 Sep 2012, at 22:32, Dwight Peterson<br>
>> <<a href="mailto:dwight.peterson23@gmail.com" target="_blank">dwight.peterson23@gmail.com</a>> wrote:<br>
>><br>
>>> Hi all,<br>
>>><br>
>>> I am getting an output message of OUT OF MEMORY quite often<br>
>>> when attempting to use certain functions within EEGLAB. For<br>
>>> example, this OUT OF MEMORY message occurs when I try to re-sample<br>
>>> my dataset after it has been successfully loaded in to EEGLAB. The<br>
>>> reason I am trying to re-sample is because our data acquisition<br>
>>> system is extremely high resolution, however, this leads to memory<br>
>>> issues given that the sampling rate is 48000 Hz. Because we are<br>
>>> limited in terms of our equipment, I was trying to re-sample to a<br>
>>> smaller sampling rate, but I keep getting this error message.<br>
>>> Also, this error message comes up when I try to load in a saved<br>
>>> continuous EEG dataset that I have already processed. However, if<br>
>>> I re-create the eeg dataset from the beginning (e.g., import > from<br>
>>> .mat array) there is no such error message.<br>
>>> I have already tried the memory options within the File menu<br>
>>> of the EEGLAB GUI.<br>
>>><br>
>>> Any suggestions would be most appreciated!<br>
>>><br>
>>> Thanks!<br>
>>><br>
>>> --Dwight--<br>
>>><br>
>>> --<br>
>>> Dwight J. Peterson, M.A.<br>
>>> Graduate Assistant<br>
>>> Cognitive and Brain Sciences<br>
>>> Department of Psychology/296<br>
>>> Memory and Brain Laboratory<br>
>>> University of Nevada, Reno<br>
>>> Reno, NV 89557<br>
>>> Cellular: <a href="tel:319-231-8596" value="+13192318596" target="_blank">319-231-8596</a><br>
>>> Laboratory: <a href="tel:775-682-8667" value="+17756828667" target="_blank">775-682-8667</a><br>
>>><br>
>>> _______________________________________________<br>
>>> Eeglablist page: <a href="http://sccn.ucsd.edu/eeglab/eeglabmail.html" target="_blank">http://sccn.ucsd.edu/eeglab/eeglabmail.html</a><br>
>>> To unsubscribe, send an empty email to <a href="mailto:eeglablist-unsubscribe@sccn.ucsd.edu" target="_blank">eeglablist-unsubscribe@sccn.ucsd.edu</a><br>
>>> For digest mode, send an email with the subject "set digest mime"<br>
>>> to <a href="mailto:eeglablist-request@sccn.ucsd.edu" target="_blank">eeglablist-request@sccn.ucsd.edu</a><br>
>> _______________________________________________<br>
>> Eeglablist page: <a href="http://sccn.ucsd.edu/eeglab/eeglabmail.html" target="_blank">http://sccn.ucsd.edu/eeglab/eeglabmail.html</a><br>
>> To unsubscribe, send an empty email to <a href="mailto:eeglablist-unsubscribe@sccn.ucsd.edu" target="_blank">eeglablist-unsubscribe@sccn.ucsd.edu</a><br>
>> For digest mode, send an email with the subject "set digest mime" to<br>
>> <a href="mailto:eeglablist-request@sccn.ucsd.edu" target="_blank">eeglablist-request@sccn.ucsd.edu</a><br>
>><br>
><br>
><br>
> _______________________________________________<br>
> Eeglablist page: <a href="http://sccn.ucsd.edu/eeglab/eeglabmail.html" target="_blank">http://sccn.ucsd.edu/eeglab/eeglabmail.html</a><br>
> To unsubscribe, send an empty email to <a href="mailto:eeglablist-unsubscribe@sccn.ucsd.edu" target="_blank">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" target="_blank">eeglablist-request@sccn.ucsd.edu</a><br>
<br>
<br>
_______________________________________________<br>
Eeglablist page: <a href="http://sccn.ucsd.edu/eeglab/eeglabmail.html" target="_blank">http://sccn.ucsd.edu/eeglab/eeglabmail.html</a><br>
To unsubscribe, send an empty email to <a href="mailto:eeglablist-unsubscribe@sccn.ucsd.edu" target="_blank">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" target="_blank">eeglablist-request@sccn.ucsd.edu</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br>Dwight J. Peterson, M.A.<br>Graduate Assistant<br>Cognitive and Brain Sciences<br>Department of Psychology/296<div>Memory and Brain Laboratory<br>University of Nevada, Reno<br>
Reno, NV 89557<br>Cellular: <a href="tel:319-231-8596" value="+13192318596" target="_blank">319-231-8596</a></div><div>Laboratory: <a href="tel:775-682-8667" value="+17756828667" target="_blank">775-682-8667</a></div><br>
</div></div>