Re: [Numpy-discussion] NumPy-Discussion Digest, Vol 87, Issue 35
Hi, Thanks for your answer. I use ubuntu 12.04 32 bits and python 2.7 I upgrade numpy to 1.8, but the error persists I think that the problem is in gzip.py : max_read_chunk = 10 * 1024 * 1024 # 10Mb What do you think? Best regards, AMIRA 2013/12/31 <numpy-discussion-request@scipy.org>
Send NumPy-Discussion mailing list submissions to numpy-discussion@scipy.org
To subscribe or unsubscribe via the World Wide Web, visit http://mail.scipy.org/mailman/listinfo/numpy-discussion or, via email, send a message with subject or body 'help' to numpy-discussion-request@scipy.org
You can reach the person managing the list at numpy-discussion-owner@scipy.org
When replying, please edit your Subject line so it is more specific than "Re: Contents of NumPy-Discussion digest..."
Today's Topics:
1. Loading large NIfTI file -> MemoryError (Amira Chekir) 2. Re: Loading large NIfTI file -> MemoryError (Julian Taylor) 3. Re: proposal: min, max of complex should give warning (Cera, Tim) 4. Re: proposal: min, max of complex should give warning (Neal Becker) 5. Re: proposal: min, max of complex should give warning (Ralf Gommers) 6. Re: proposal: min, max of complex should give warning (Neal Becker) 7. ANN: NumPy 1.7.2 release (Julian Taylor) 8. Re: ANN: NumPy 1.7.2 release (Charles R Harris)
----------------------------------------------------------------------
Message: 1 Date: Tue, 31 Dec 2013 14:13:57 +0100 From: Amira Chekir <chekir.amira@gmail.com> Subject: [Numpy-discussion] Loading large NIfTI file -> MemoryError To: numpy-discussion@scipy.org Message-ID: <CAB-foYgW4HiL37aPchrbYkgPNJLY1Dt55M8Ki30UaTg= EQ29Zw@mail.gmail.com> Content-Type: text/plain; charset="iso-8859-1"
Hello together,
I try to load a (large) NIfTI file (DMRI from Human Connectome Project, about 1 GB) with NiBabel.
import nibabel as nib img = nib.load("dmri.nii.gz") data = img.get_data()
The program crashes during "img.get_data()" with an "MemoryError" (having 4 GB of RAM in my machine).
Any suggestions?
Best regards, AMIRA
participants (1)
-
Amira Chekir