[Eeglablist] ASR Cleaning Method Error: failed to get memory buffer

Makoto Miyakoshi mmiyakoshi at ucsd.edu
Mon Jan 11 11:08:42 PST 2021

Dear Aron,

Sorry for the trouble. Can you please kindly try the older version that can
be downloadable from here?


The algorithm is the same (unless you want to use Riemannian option). Do
not forget to use the old option 'availableRAM_GB'. If you like the
results, you can use it for publication with no problem.


On Sun, Jan 10, 2021 at 10:06 PM Aron Hill <aronhill2 at gmail.com> wrote:

> Hi there
> I'm trying to run the ASR cleaning method on 60 channel files with ~800s
> worth of data recorded at 1000Hz. For 18 / 58 participants, I'm getting an
> error when the ASR function tries to calibrate the data:
> radix_sort: failed to get memory buffer
> I have 32GB of RAM, which I would think should be enough.
> I've tried fixing the amount of GB of RAM used to a specified value (right
> down to 1), and setting ASR to use my graphics card, neither of which help.
> Lastly, I've tried setting maxmem to the minimum recommended (256) which
> doesn't solve the issue either.
> I've pasted the code I'm using below in case anyone can see an immediate
> issue with it:
> EEG = pop_clean_rawdata(EEG,...
> 'FlatlineCriterion','off','ChannelCriterion','off','LineNoiseCriterion','off','Highpass','off',...
> 'BurstCriterion',20,'WindowCriterion',0.25,'BurstRejection','off','Distance','Euclidian',...
>         'WindowCriterionTolerances', [-Inf 7]);
> Thank you.
> _______________________________________________
> Eeglablist page: http://sccn.ucsd.edu/eeglab/eeglabmail.html
> To unsubscribe, send an empty email to
> eeglablist-unsubscribe at sccn.ucsd.edu
> For digest mode, send an email with the subject "set digest mime" to
> eeglablist-request at sccn.ucsd.edu

More information about the eeglablist mailing list