# n\_jobs on windows

**URL:** <https://mne.discourse.group/t/n-jobs-on-windows/1423>\
**Category:** Mailing List Archive (read-only)\
**Tags:** list-archive\
**Created:** [February 13, 2018, 2:43pm UTC](https://mne.discourse.group/t/n-jobs-on-windows/1423 "2018-02-13T14:43:10Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/free1/uploads/mne/original/1X/85cc6bd2b69cb698a166dc6d880fb550510d0144.jpeg) [@system](https://mne.discourse.group/u/system)\
**Post date:** [February 13, 2018, 2:43pm UTC](https://mne.discourse.group/t/n-jobs-on-windows/1423/1 "2018-02-13T14:43:10Z")

</div>

Hi,

I tried to set n\_jobs (from mne.filter.filter\_data) \> 1 on windows 10 with  
no success (computer crashed). Has anyone figured this out?

Best,  
Mat  
-------------- next part --------------  
An HTML attachment was scrubbed...  
URL: [http://mail.nmr.mgh.harvard.edu/pipermail/mne\_analysis/attachments/20180213/56054345/attachment.html](http://mail.nmr.mgh.harvard.edu/pipermail/mne_analysis/attachments/20180213/56054345/attachment.html)

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/free1/uploads/mne/original/1X/85cc6bd2b69cb698a166dc6d880fb550510d0144.jpeg) [@system](https://mne.discourse.group/u/system)\
**Post date:** [February 13, 2018, 6:06pm UTC](https://mne.discourse.group/t/n-jobs-on-windows/1423/2 "2018-02-13T18:06:10Z")

</div>

hi Mat,

we you use n\_jobs \> 1 you need more RAM on your machine.  
that can explain the crash if you don't have enough RAM.

Alex

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/free1/uploads/mne/original/1X/85cc6bd2b69cb698a166dc6d880fb550510d0144.jpeg) [@system](https://mne.discourse.group/u/system)\
**Post date:** [February 14, 2018, 10:15pm UTC](https://mne.discourse.group/t/n-jobs-on-windows/1423/3 "2018-02-14T22:15:07Z")

</div>

Hi Alex,

I have 32768MB RAM on my machine, I don't think it's an issue. When I set  
n\_jobs = 2, python freezes, and I have to kill the process (see attached  
screen capture).

nothing happens, seems to block the execution of everything (see capture).

2018-02-13 12:06 GMT-06:00 Alexandre Gramfort \<alexandre.gramfort at inria.fr\>:

> hi Mat,
> 
> we you use n\_jobs \> 1 you need more RAM on your machine.  
> that can explain the crash if you don't have enough RAM.
> 
> Alex
> 
> > Hi,
> > 
> > I tried to set n\_jobs (from mne.filter.filter\_data) \> 1 on windows 10  
> > with no success (computer crashed). Has anyone figured this out?
> > 
> > Best,  
> > Mat
> > 
> > \_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_  
> > Mne\_analysis mailing list  
> > Mne\_analysis at nmr.mgh.harvard.edu  
> > [Mne\_analysis Info Page](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  
> > [MyComplianceReport.com: Compliance and Ethics Reporting](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.
> 
> \_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_  
> Mne\_analysis mailing list  
> Mne\_analysis at nmr.mgh.harvard.edu  
> [Mne\_analysis Info Page](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  
> [MyComplianceReport.com: Compliance and Ethics Reporting](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.

-------------- next part --------------  
An HTML attachment was scrubbed...  
URL: [http://mail.nmr.mgh.harvard.edu/pipermail/mne\_analysis/attachments/20180214/42e81dde/attachment-0001.html](http://mail.nmr.mgh.harvard.edu/pipermail/mne_analysis/attachments/20180214/42e81dde/attachment-0001.html)  
-------------- next part --------------  
A non-text attachment was scrubbed...  
Name: Capture.PNG  
Type: image/png  
Size: 26916 bytes  
Desc: not available  
Url : [http://mail.nmr.mgh.harvard.edu/pipermail/mne\_analysis/attachments/20180214/42e81dde/attachment-0001.png](http://mail.nmr.mgh.harvard.edu/pipermail/mne_analysis/attachments/20180214/42e81dde/attachment-0001.png)

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/free1/uploads/mne/original/1X/85cc6bd2b69cb698a166dc6d880fb550510d0144.jpeg) [@system](https://mne.discourse.group/u/system)\
**Post date:** [February 15, 2018, 2:03am UTC](https://mne.discourse.group/t/n-jobs-on-windows/1423/4 "2018-02-15T02:03:43Z")

</div>

If you do:

> > > print(epochs\_learning\_1\_corr)

what does it tell you as the size of your epochs object?

Mainak
