You're probably going to need a computer with more memory. That one only has 1G.

doug

ckeller@nmr.mgh.harvard.edu wrote:
Hi,

  I am trying to run an fMRI gamma analysis and am running into memory
problems.  I'm running freesurfer version stable 4.0 on unix through
multnomah.  The subject directory is located in
/space/multnomah/3/users/gow/PROZ06/MRI/PROZ06004.  We're running into
issues with the selxavg-sess command.  While in the
/space/multnomah/3/users/gow/PROZ06/StudyDir I ran selxavg3-sess -sf
sessid04 -df sesspar -analysis sm-gamma-fwhm5 -overwrite and got a
memory error from matlab.  Now this worked one time with using just one
run, but when I try to analyze all three runs it returned the error and
then when I went back and reran just that one run I received the same
error.  Below is my code.  Thanks.

multnomah:jsegawa[91] selxavg3-sess -sf sessid04 -df sesspar -analysis
sm-gamma- fwhm5 -overwrite
--------------------------------------------------------------
selxavg3-sess logfile is
/autofs/space/multnomah_003/users/gow/PROZ06/StudyDir/l
og/selxavg3-sess-bold-sm-gamma-fwhm5-071012122828.log
--------------------------------------------------------------
-------------------------------------------
/autofs/space/multnomah_003/users/gow/PROZ06/MRI/PROZ06004
Fri Oct 12 12:28:28 EDT 2007
anadir =
/autofs/space/multnomah_003/users/gow/PROZ06/MRI/PROZ06004/bold/sm-gamm
a-fwhm5
analysis sm-gamma-fwhm5 alread exists for PROZ06004
 ... reanalyzing (deleting old analysis)
------------------------------------------
------- matlab output --------------------
Warning: Unable to open display iconic, MATLAB is starting without a display.
  You will not be able to display graphics on the screen.
Warning:
  MATLAB is starting without a display, using internal event queue.
  You will not be able to display graphics on the screen.


                              < M A T L A B >
                  Copyright 1984-2005 The MathWorks, Inc.
                   Version 7.1.0.183 (R14) Service Pack 3
                              August 02, 2005


  To get started, type one of these: helpwin, helpdesk, or demo.
  For product information, visit www.mathworks.com.

Adding MNE Toolbox...
  
/usr/local/freesurfer/stable4/fsfast/toolbox/fast_selxavg3.
                              
m
  
$Id: fast_selxavg3.m,v
                                                                      
1.55.2 .1 2007/09/27
15:25:58 greve Exp $
outtop = /autofs/space/multnomah_003/users/gow/PROZ06/MRI
Extension format = nii
UseFloat = 0
INFO: acfbins is not set, setting to 10
INFO: mask is not set, setting to brain
 1 simple-v-complex.mat
Loaded
/autofs/space/multnomah_003/users/gow/PROZ06/MRI/PROZ06004/bold/010/parfi
le1.par as a par2 file.
nruns = 1
autostimdur = 1


outanadir =
/autofs/space/multnomah_003/users/gow/PROZ06/MRI/PROZ06004/bold/sm-g
amma-fwhm5
Found 49490/110592 (44.8) voxels in mask
Creating Design Matrix
Loaded
/autofs/space/multnomah_003/users/gow/PROZ06/MRI/PROZ06004/bold/010/parfi
le1.par as a par2 file.
ntptot = 414, nX = 8, DOF = 406
XCond = 288.38 (normalized)
Computing compensation for resdual AR1 bias
 1  -0.5  -0.501599    (t=0.113866)
 2  -0.25  -0.257524    (t=0.220947)
 3  0  -0.0157544    (t=0.325266)
 4  0.25  0.221692    (t=0.429817)
 5  0.5  0.449162    (t=0.537974)
AR1 Correction M: 0.0218428 1.0499
Computing contrast matrices
Loaded
/autofs/space/multnomah_003/users/gow/PROZ06/MRI/PROZ06004/bold/010/parfi
le1.par as a par2 file.
 1 simple-v-complex J= 1  eff =   78.7   vrf =  78.7205 vrfffx =  78.7205
r = 1. 00
OLS Beta Pass
  run 1    t= 0.0
Loaded
/autofs/space/multnomah_003/users/gow/PROZ06/MRI/PROZ06004/bold/010/parfi
le1.par as a par2 file.
Global In-Mask Mean = 544.358
Rescale Target = 100
RescaleFactor = 0.183703
OLS Residual Pass
  run 1    t= 0.0
Loaded
/autofs/space/multnomah_003/users/gow/PROZ06/MRI/PROZ06004/bold/010/parfi
le1.par as a par2 file.
??? Error using ==> unknown
Out of memory. Type HELP MEMORY for your options.

Error in ==> fast_selxavg3 at 417
    rho1run = sum(rrun(1:end-1,:).*rrun(2:end,:))./rsserun;

  
------------------------------------------
      
ERROR: fast_selxavg3() failed\n
multnomah:jsegawa[92]

_______________________________________________
Freesurfer mailing list
Freesurfer@nmr.mgh.harvard.edu
https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer


  

-- 
Douglas N. Greve, Ph.D.
MGH-NMR Center
greve@nmr.mgh.harvard.edu
Phone Number: 617-724-2358 
Fax: 617-726-7422

In order to help us help you, please follow the steps in:
surfer.nmr.mgh.harvard.edu/fswiki/BugReporting