Dear Brigitte, >Dear all, > >I'm getting this error message while trying to realign my data >in SPM99b, I don't think there should be any memory problem, I >still have 709Mb availebable in my working directory. What >should I check, what should I do? > The memory alluded to by Matlab is not that on your disk, but rather the memory it has access to for doing is work internally. The line it crashes on does create, temporarily, a couple of pretty large matrices, so I think it is not impossible that you actually run out of memory. Try typing 'unlimit memorysize' in your unix shell prior to starting matlab. Good luck Jesper >Brigitte > > > >SPM99b: spm_realign (v2.16) 15:01:53 - >27/12/1999 >======================================================================== > >Warning: Color table has no available R/W slots and no R/O >slots. >> In /opt/spm99b/spm_get.m at line 391 > In /opt/spm99b/spm_get.m at line 683 > In /opt/spm99b/spm_get.m at line 320 > In /opt/spm99b/spm_realign.m at line 252 >Realigning Subject 1: ??? Out of memory. Type HELP MEMORY for >your options. > >Error in ==> /opt/spm99b/spm_realign.m (make_A) >On line 927 ==> tmp = sum([y1-x1 y2-x2 y3-x3].*[dG1 >dG2 dG3],2)/(-1e-6); > >Error in ==> /opt/spm99b/spm_realign.m (realign_series) >On line 756 ==> A0 = >make_A(P(1).mat,x1,x2,x3,dG1,dG2,dG3,wt,lkp); > >Error in ==> /opt/spm99b/spm_realign.m (realign_images) >On line 656 ==> P = realign_series(P,PW,Flags); > >Error in ==> /opt/spm99b/spm_realign.m >On line 367 ==> realign_images(P{i},Q,sessions{i}); > >??? Error while evaluating uicontrol Callback. > > > > Jesper Andersson Wellcome Dept. of Cognitive Neurology 12 Queen Square London WC1N 3BG phone: 44 171 833 7484 fax: 44 171 813 1420