[FieldTrip] Running out of memory (RAM)
Eelke Spaak
e.spaak at donders.ru.nl
Mon Jun 22 15:27:19 CEST 2020
Dear Andrade,
You could have a look here for some tips on memory efficiency:
http://www.fieldtriptoolbox.org/tutorial/memory/ Probably most relevant to
you: change the data precision to single, rather than double (saves ~50%).
Best,
Eelke
On Sun, 21 Jun 2020 at 22:34, Andrade Rey René <rene.andrade at edu.uah.es>
wrote:
> Dear experts:
> I am running this code
>
> cfg = [];cfg.headmodel = headmodel;cfg.sourcemodel = leadfield;cfg.method = 'lcmv';cfg.lcmv.projectmom = 'yes'; % project dipole time series in direction of maximal power (see below)cfg.lcmv.kurtosis = 'yes'; % compute kurtosis at each locationsource = ft_sourceanalysis(cfg, cov_matrix);
>
>
> Of http://www.fieldtriptoolbox.org/tutorial/epilepsy/. And I think I run
> out of memory because with “top” I can see the computer stops responding
> when near 85% of RAM memory(16GB).
>
> I cannot report any error because the only problem seems to be that either
> wrong code or wrong data or I don’t know.
>
> Best,
> Andrade.
> _______________________________________________
> fieldtrip mailing list
> https://mailman.science.ru.nl/mailman/listinfo/fieldtrip
> https://doi.org/10.1371/journal.pcbi.1002202
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20200622/58106b35/attachment.htm>
More information about the fieldtrip
mailing list