<p><span style="padding: 3px 10px; border-radius: 5px; color: #ffffff; font-weight: bold; display: inline-block; background-color: #ff0000;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;External Email - Use Caution&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span></p><p></p><div dir="ltr">We probably do not handle preload-as-str properly. Can you open an MNE issue about this on GitHub?<div><br></div><div>Eric</div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr">On Tue, Jul 31, 2018 at 12:34 PM Rockhill, Alexander P. &lt;<a href="mailto:AROCKHILL@mgh.harvard.edu">AROCKHILL@mgh.harvard.edu</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">




<div>
<div style="direction:ltr;font-family:Tahoma;color:#000000;font-size:10pt">
<div>Hi all,</div>
<div><br>
</div>
<div>    I have a very large Raw file (several hours sampled at 25 kHz) and the analysis depends on not decimating the data. I have been trying to use a memory-mapped file but when I add channels, I get the error:</div>
<div><br>
&gt;&gt;&gt; raw.add_channels([Cz], force_update_info=False)<br>
Traceback (most recent call last):<br>
  File &quot;&lt;stdin&gt;&quot;, line 1, in &lt;module&gt;<br>
  File &quot;/autofs/space/karima_001/users/alex/software/anaconda2/lib/python2.7/site-packages/mne/channels/channels.py&quot;, line 877, in add_channels<br>
    data = np.concatenate(data, axis=con_axis)<br>
MemoryError</div>
<div><br>
</div>
<div>    If anyone has helpful information about a way around this, I would appreciate it greatly.</div>
<div><br>
</div>
<div>Thanks,</div>
<div><br>
</div>
<div>Alex Rockhill<br>
</div>
<div><br>
<div style="font-family:Tahoma;font-size:13px">
<div class="m_5707553770980382552BodyFragment"><font size="2"><span style="font-size:10pt">
<div class="m_5707553770980382552PlainText">Translational NeuroEngineering Laboratory<br>
Division of Neurotherapeutics, Department of Psychiatry<br>
Massachusetts General Hospital, Martinos Center<br>
149 13th St Charlestown #2301, Boston, MA 02129</div>
</span></font></div>
</div>
</div>
</div>
</div>

_______________________________________________<br>
Mne_analysis mailing list<br>
<a href="mailto:Mne_analysis@nmr.mgh.harvard.edu" target="_blank">Mne_analysis@nmr.mgh.harvard.edu</a><br>
<a href="https://mail.nmr.mgh.harvard.edu/mailman/listinfo/mne_analysis" rel="noreferrer" target="_blank">https://mail.nmr.mgh.harvard.edu/mailman/listinfo/mne_analysis</a><br>
<br>
<br>
The information in this e-mail is intended only for the person to whom it is<br>
addressed. If you believe this e-mail was sent to you in error and the e-mail<br>
contains patient information, please contact the Partners Compliance HelpLine at<br>
<a href="http://www.partners.org/complianceline" rel="noreferrer" target="_blank">http://www.partners.org/complianceline</a> . If the e-mail was sent to you in error<br>
but does not contain patient information, please contact the sender and properly<br>
dispose of the e-mail.<br>
</blockquote></div>