The way to solve the OUT OF MEMORY problem is to get more more memory for your SGI or increase your swap space. Matlab is a memory hog and that is the only way around that. SPM obviously creates large multiple matrices of data and its entirely possible that 8GB of RAM wouldn't be enough if your data is initailly 1.8GB. Not sure about the second error message, but it may be related. Sincerley, Chris Thomas >--------------------------------------------- >??? 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 >---------------------------------------- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%