Print

Print


I'm surprised that you are having problems when using only 1.8 GB
of files.  Since you are using a 64 bit version of UNIX, you should
(in theory) be able to use up to about 8,589,934,592 GB of memory.

I see you have 8 GB of memory.  This should easily be adequate,
providing that there are not too many other people also attempting
to use it.  Under Solaris, you can check how much memory you have
free using the "swap -s" command.  However, I don't know what the
equivalent would be under IRIX6.4.  The other possibility is that
memory limits may be set.  There is a builtin command in the
C-shell (at least under Solaris) called "limit".  Typing  "limit"
by itself shows how the limits have been set for a particular
C-shell, and any child processes of that C-shell.  You should be
able to use the "unlimit" command on the variable that refers to
the amount of virtual memory that can be used by any process.
Under Solaris, the variable is "memorysize".  Hopefully, there
is someone out there who known IRIX, and really knows what the
proper commands should be.

Also, a little bit of possbly useful advice:  If you get memory
problems and SPM crashes, then it does not get the chance to
unmap any memory mapped images.  This mapped memory is still
considered to be part of the virtual memory of the Matlab
process.  Because of this, it is usually a good idea to quit
Matlab and start it again, before attempting anything else in
SPM.

Good luck,
-John


> Dear SPM
> 
> We are currently running fMRI group study in seven subjects 
> with two sessions for each and getting into hardware and/or 
> software trouble.
> 
> Images of seven subjects with 256 volumes each 
> (256 x 7=1792 volumes, 1.8 GB altogether) are analyzed using
> SPM96 installed on Silicon Graphics, Origin2000 (32 CPU,
> Memory 8 GB, OS; IRIX6.4, 64 bit Unix).
> 
> When we run statistics (TR=6, session number =14, no temporal 
> derivatives, hi-pass filter of 200sec, with temporal smoothing)
> of SPM96 on these conditions, it crashes with following error 
> messages.
> 
> ---------------------------------------------
> ??? Error using ===> -
> Out of Memory  Type HELP MEMORY for your options.
> 
> Error in =>/home/nsadato/spm96/spm_spm.m
> Online 237 => Y = Y - ones(q,1)*EX;
>  
> Error in => /home/nsadato/spm96/spm_fmri_spm_ui.m
> On line 509 =>spm_spm(V,H,C,B,G,CONTRAST,ORIGIN,GX
>     HCBGnames,P,SIGMA,RT);
>  
> ??? Error while evatiating callback string.
> --------------------------------------------
> 
> OR 
> 
> ------------------------------------------- 
> ??? Cant map image file (tmp/iidaka/workspace/981003su/
>     snrfsub00072.img)
>  
> Error in =>/home/nsadato/spm96/spm_map_vol.mexsg
> Error in =>/home/nsadato/spm96/spm_map.m
> On line 33 => V = spm_map_vol(Filename, ID);
>  
> Error in =>/home/nsadato/spm96/spm_fmri_spm_uni.m
> On line 424 => for i=1; q ; v ( : , i ) = spm_map (p(i , : )) ; end
>  
> ??? Error while evaluating callback string
> ----------------------------------------
>  
> SPM works normally when running 5 subjects (1280 volumes)
> with the same condition.
> 
> We very much appreciate your help.
> 
> ------------------------------
> Tetsuya Iidaka, MD
> Fukui Medical University
> Biomedical Imaging Research Center
> 23 Shimoaizuki, Matsuoka, Yoshida,
> Fukui, 910-1193, JAPAN
> Tel: +81 776 61 3111 (ext. 2338)
> Fax: +81 776 61 8137
> e-mail: [log in to unmask]
> ------------------------------
> 
> 


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%