[Mne_analysis] Spatio-temporal clustering

Alexandre Gramfort gramfort at nmr.mgh.harvard.edu
Tue Feb 26 13:48:08 EST 2013
Search archives:

hi Nicola,

what you can try is filter and downsample your time series to have less data
or try casting the stc.data to float 32 to have single precision.

HTH
Alex

On Tue, Feb 26, 2013 at 7:07 PM, Martin Luessi
<mluessi at nmr.mgh.harvard.edu> wrote:
> Hi Nicola,
>
> It seems like you don't have sufficient memory to run the analysis. It
> tries to allocate a memmap with 557166592 elements, which corresponds to
> 4GB (8 bytes per element).
>
> Did you use parallel processing? If so, try running it with n_jobs=1,
> this should reduce the memory consumption At the moment you need almost
> n_jobs times the memory when using parallel processing. Hopefully this
> will be improved in the future.
>
> Best,
>
> Martin
>
> On 02/26/13 09:53, Nicola Molinaro wrote:
>> Dear mne-python experts,
>> We are trying to run spatio-temporal cluster stats for my experiment. I
>> tried to follow the 'plot_cluster_stats_spatio_temporal.py' example with
>> 5 participants (and two conditions). I am trying to run my analyses in
>> my iMac Os 10.6.8 with 4 Gb of RAM. We are using the last update of mne
>> (0.5) and we constantly find the following error.
>>
>>
>> ...
>> [done]
>>      Reading a surface...
>> [done]
>>      8 BEM surfaces read
>> -- number of connected vertices : 20484
>> Clustering.
>> Python(17084) malloc: *** mmap(size=557166592) failed (error code=12)
>> *** error: can't allocate region
>> *** set a breakpoint in malloc_error_break to debug
>> Bus error
>>
>>
>> any suggestion?
>>
>> (By the way, with 2 participants the script works...)
>>
>> N
>>
>>
>> _______________________________________________
>> Mne_analysis mailing list
>> Mne_analysis at nmr.mgh.harvard.edu
>> https://mail.nmr.mgh.harvard.edu/mailman/listinfo/mne_analysis
>>
>
>
> --
> Martin Luessi, Ph.D.
>
> Research Fellow
>
> Department of Radiology
> Athinoula A. Martinos Center for Biomedical Imaging
> Massachusetts General Hospital
> Harvard Medical School
> 149 13th Street
> Charlestown, MA 02129
>
> Fax: +1 617 726-7422
> _______________________________________________
> Mne_analysis mailing list
> Mne_analysis at nmr.mgh.harvard.edu
> https://mail.nmr.mgh.harvard.edu/mailman/listinfo/mne_analysis
>
>
> The information in this e-mail is intended only for the person to whom it is
> addressed. If you believe this e-mail was sent to you in error and the e-mail
> contains patient information, please contact the Partners Compliance HelpLine at
> http://www.partners.org/complianceline . If the e-mail was sent to you in error
> but does not contain patient information, please contact the sender and properly
> dispose of the e-mail.
>



More information about the Mne_analysis mailing list