[FieldTrip] Running out of memory (RAM)

Schoffelen, J.M. (Jan Mathijs) jan.schoffelen at donders.ru.nl
Mon Jun 22 08:51:30 CEST 2020


Dear Andrade,

Without any more specific information, the only meaningful comment that can be given here, is ‘get yourself a more powerful computer’.

Memory usage depends highly on the operating system (in particular: matlab on windows machines used to be much less memory friendly, but it’s been a while that I have been running real computations on a window machine so perhaps this has changed), the total size of all variables that need to be kept in memory, etc.

Best wishes,
Jan-Mathijs



On 21 Jun 2020, at 22:34, Andrade Rey René <rene.andrade at edu.uah.es<mailto: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 location
source = 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/2a12ebf1/attachment.htm>


More information about the fieldtrip mailing list