[pymvpa] MemoryError when running tutorial_lib.py

冯璐 fenglu at fingerpass.net.cn
Mon Aug 22 12:55:20 UTC 2011


I’m new to Python. I have learnt some elementary knowledge before I come to
PyMVPA. But I don’t know how to easily check the memory consumption. My
system is Windows XP (32bit). Now I’m using IPython. Is there any magic
function for me to check the memory consumption?

 

ONE MORE QUESTION. When I use the following statement to load modules, there
are several warnings. They have been attached with this mail.

                                                 from mvpa.suite import *

 

Thank you!

 

Best wishes!

 

     Lu FENG

fenglu at fingerpass.net.cn

 

From: 冯璐 [mailto:fenglu at fingerpass.net.cn] 
Sent: 2011年8月22日 17:44
To: 'pkg-exppsy-pymvpa at lists.alioth.debian.org'
Subject: RE: [pymvpa]MemoryError when running tutorial_lib.py

 

Dear Michael and Zonglei,

 

         Thank you for your attention! I have to turn to some other tasks
these days. But the problem is still there.

         There are two sets of data. One is tutorial data from the website
(size of the file <bold.nii.gz> is 294MB), the other is the test data coming
with the software (size of the file <bold.nii.gz> is 1.25MB). There is no
problem when I used the following codes to handle with the latter, but the
memory error occurred when I tried to handle with the former.

 

         In [43]: dataset = fmri_dataset(

          ....: samples = os.path.join(pymvpa_dataroot, 'bold.nii.gz'),

          ....: targets = attr.targets,

         ....: chunks = attr.chunks,

         ....: mask = os.path.join(pymvpa_dataroot, 'mask_brain.nii.gz'))

 

         As attached is the statement and the error message. Would you
please read the error message? I don’t think it has anything to do with
mismatched or missing brackets.

         If the software can’t handle with the dataset no larger than
294MB, it won’t be proper for my coming research. If I misused the software
or I haven’t describe the situation clearly, please contact me without
hesitation.

 

         Thank you!

 

Best wishes!

 

     Lu FENG

fenglu at fingerpass.net.cn

 

From: 冯璐 [mailto:fenglu at fingerpass.net.cn] 
Sent: 2011年8月8日 17:42
To: 'pkg-exppsy-pymvpa at lists.alioth.debian.org'
Subject: MemoryError when running tutorial_lib.py

 

Dear experts,

 

         When I typed ds = get_haxby2001_data() in IPython, I’ve got a
exception of MemoryError. 

 

The error message is (‘EOF in multi-line statement’, (2, 0))

 

The size of ‘Bold.nii.gz’ is 294MB. And memory size of my computer is 3GB.

 

Does anyone know what happened? Is it out of memory? Thank you in advance.

 

Best wishes!

 

     Lu FENG

fenglu at fingerpass.net.cn

 



__________ Information from ESET NOD32 Antivirus, version of virus signature
database 6329 (20110727) __________

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com


__________ Information from ESET NOD32 Antivirus, version of virus signature
database 6398 (20110821) __________

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com



__________ Information from ESET NOD32 Antivirus, version of virus signature
database 6398 (20110821) __________

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com


__________ Information from ESET NOD32 Antivirus, version of virus signature
database 6399 (20110822) __________

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-exppsy-pymvpa/attachments/20110822/755912a9/attachment.html>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: warning.txt
URL: <http://lists.alioth.debian.org/pipermail/pkg-exppsy-pymvpa/attachments/20110822/755912a9/attachment.txt>


More information about the Pkg-ExpPsy-PyMVPA mailing list