<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Hi Zach,<br>
<br>
The problem stems from the fact that eeglab loads everything into
memory before handling it. Most EEG analysis programs keep the
information in the hard drive and load small parts of it when they need
them, "on the fly". So, for instance, a 400MB file with 16-bit
precision will turn into a 800MB matrix once loaded into EEGLAB and
converted to float precision. That is only the raw data. If you perform
ICA over that record, then you'll have another 800MB with the
ICA-decomposed record, all loaded into memory. Whenever you perform
operations on the data, eeglab will have to allocate some more memory
to store intermediate results.<br>
<br>
Probably the best solution is load the stuff in chunks, segment it and
save it. Then concatenate the sets. You can write scripts for that.
Every eeglab function is accessible from the command line in matlab,
and the data model is accessible too. Check the workspace once you have
started up eeglab and loaded a small dataset to get an idea of how
eeglab organizes the data.<br>
<br>
David.<br>
<br>
Zachary Moran wrote:
<blockquote
 cite="mid:93a92c840801241522y48e7b1b8h3051580254f1f56a@mail.gmail.com"
 type="cite">
  <div>Hi all,</div>
  <div> </div>
  <div>I'm part of a group at UCLA trying to implement EEGLAB to
analyze rather large, Neuroscan .cnt files collected with Scan 4.3. 
The files are 16-bit sampled at 1000 Hz, with an average size of about
400 MB.  I'm using a Dell/2.4GHz Intel with 1GB RAM running Windows XP
Professional and Matlab R2007a.  However, in trying to import
continuous files into EEGLAB, I get the following error: </div>
  <div> </div>
  <div>
  <p style="margin: 0in 0in 0pt;"><span
 style="font-size: 10pt; font-family: Arial;">EEGLAB error in function
loadcnt() at line 381:</span></p>
  <p style="margin: 0in 0in 0pt;"><span
 style="font-size: 10pt; font-family: Arial;"> </span></p>
  <p style="margin: 0in 0in 0pt;"><span
 style="font-size: 10pt; font-family: Arial;">Error using ==> fread</span></p>
  <p style="margin: 0in 0in 0pt;"><span
 style="font-size: 10pt; font-family: Arial;">Out of memory.<span>  </span>Type
HELP MEMORY for your options. </span></p>
  <p style="margin: 0in 0in 0pt;"><span
 style="font-size: 10pt; font-family: Arial;"></span> </p>
  <p style="margin: 0in 0in 0pt;">I've tried the usual memory saving
options listed under "help memory" to no avail.  I'm already running at
1GB of RAM, but does anyone know whether the addition of more RAM would
solve this problem or if there are alternate solutions that have been
found? </p>
  <p style="margin: 0in 0in 0pt;"> </p>
  <p style="margin: 0in 0in 0pt;">Any help or information would be
greatly appreciated!</p>
  <p style="margin: 0in 0in 0pt;"> </p>
  <p style="margin: 0in 0in 0pt;">Thanks,</p>
  <p style="margin: 0in 0in 0pt;"> </p>
  <p style="margin: 0in 0in 0pt;">Zach Moran</p>
  <p style="margin: 0in 0in 0pt;">Graduate Student</p>
  <p style="margin: 0in 0in 0pt;">UCLA Lab for Clinical Affective
Psychophysiology </p>
  </div>
  <pre wrap="">
<hr size="4" width="90%">
_______________________________________________
eeglablist mailing list <a class="moz-txt-link-abbreviated" href="mailto:eeglablist@sccn.ucsd.edu">eeglablist@sccn.ucsd.edu</a>
Eeglablist page: <a class="moz-txt-link-freetext" href="http://sccn.ucsd.edu/eeglab/eeglabmail.html">http://sccn.ucsd.edu/eeglab/eeglabmail.html</a>
To unsubscribe, send an empty email to <a class="moz-txt-link-abbreviated" href="mailto:eeglablist-unsubscribe@sccn.ucsd.edu">eeglablist-unsubscribe@sccn.ucsd.edu</a></pre>
</blockquote>
</body>
</html>