New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compiling the website needs too much memory #906

Garyfallidis opened this Issue Feb 11, 2016 · 1 comment


None yet
1 participant

Garyfallidis commented Feb 11, 2016

which is unexpected.

I had some memory issues compiling the examples. For some reason the examples need more memory than expected. I am on a machine with 16GBytes and I had to close the browser to use all available memory to compile the website. We need to check why some of the memory is not freed. Maybe the reason is that some of the examples call other examples and in that way the memory usage goes up quickly or maybe some other reason.


This comment has been minimized.


Garyfallidis commented Feb 11, 2016

Here is the traceback

Traceback (most recent call last):
  File "../tools/", line 122, in <module>
  File "", line 102, in <module>
    mask=white_matter, return_sh=True, parallel=True)
  File "/home/eleftherios/Devel/dipy/dipy/direction/", line 410, in peaks_from_model
  File "/home/eleftherios/Devel/dipy/dipy/direction/", line 201, in _peaks_from_model_parallel
    pool = Pool(nbr_processes)
  File "/usr/lib/python2.7/multiprocessing/", line 232, in Pool
    return Pool(processes, initializer, initargs, maxtasksperchild)
  File "/usr/lib/python2.7/multiprocessing/", line 159, in __init__
  File "/usr/lib/python2.7/multiprocessing/", line 223, in _repopulate_pool
  File "/usr/lib/python2.7/multiprocessing/", line 130, in start
    self._popen = Popen(self)
  File "/usr/lib/python2.7/multiprocessing/", line 121, in __init__ = os.fork()
OSError: [Errno 12] Cannot allocate memory
make: *** [rstexamples-stamp] Error 1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment