I am running qdec on a Mac Pro OS X 10.5.5 with dual quad pentiums mirrored RAID and 16GB memory.
I have followed the instruction for creating the qdec table, loaded the data in successfully and requested an analysis with two continuous variance. The following is the final output before it crashes because it cannot allocate memory. I have the maximum memory in my machine. What can I do?
$Id: mri_glmfit.c,v 1.138.2.1 2007/09/12 15:38:19 nicks Exp $
cwd /Volumes/share/MRI_Data
cmdline mri_glmfit --y /Volumes/share/MRI_Data/qdec/Untitled/y.mgh --fsgd /Volumes/share/MRI_Data/qdec/Untitled/qdec.fsgd --glmdir /Volumes/share/MRI_Data/qdec/Untitled --surf fsaverage lh --label /Volumes/share/MRI_Data/fsaverage/label/lh.cortex.label --C /Volumes/share/MRI_Data/qdec/Untitled/contrasts/Avg-Intercept-thickness.mat --C /Volumes/share/MRI_Data/qdec/Untitled/contrasts/Avg-thickness-RL-Cor.mat --C /Volumes/share/MRI_Data/qdec/Untitled/contrasts/Avg-thickness-RC-Cor.mat
sysname Darwin
hostname Macintosh-2.local
machine i386
user stevenhecht
FixVertexAreaFlag = 1
UseMaskWithSmoothing 1
OneSampleGroupMean 0
y /Volumes/share/MRI_Data/qdec/Untitled/y.mgh
logyflag 0
usedti 0
FSGD /Volumes/share/MRI_Data/qdec/Untitled/qdec.fsgd
labelmask /Volumes/share/MRI_Data/fsaverage/label/lh.cortex.label
maskinv 0
glmdir /Volumes/share/MRI_Data/qdec/Untitled
DoFFx 0
Creating output directory /Volumes/share/MRI_Data/qdec/Untitled
Loading y from /Volumes/share/MRI_Data/qdec/Untitled/y.mgh
Matrix condition is 131.103
Found 149955 points in label.
Pruning voxels by frame.
Found 149955 voxels in mask
Saving mask to /Volumes/share/MRI_Data/qdec/Untitled/mask.mgh
search space = 59659.8
DOF = 32
Starting fit and test
10% 20% 30% 40% 50% 60% 70% 80% 90% 100%
Fit completed in 0.0612333 minutes
Computing spatial AR1 on surface
Residual: ar1mn=0.997008, ar1std=0.001276, gstd=6.640355, fwhm=15.636842
Writing results
Avg-Intercept-thickness
maxvox sig=23.8959 F=850.546 at index 105774 0 0 seed=1224021971
Avg-thickness-RL-Cor
maxvox sig=3.8835 F=18.8999 at index 129111 0 0 seed=1224021971
Avg-thickness-RC-Cor
maxvox sig=-3.9267 F=19.2034 at index 152642 0 0 seed=1224021971
mri_glmfit done
ninputs = 3
Checking inputs
nframestot = 3
Allocing output
Writing to /Volumes/share/MRI_Data/qdec/Untitled/contrasts.sig.mgh
Reading in average area /Volumes/share/MRI_Data/fsaverage/surf/lh.white.avg.area.mgh
Reading in average area /Volumes/share/MRI_Data/fsaverage/surf/lh.pial.avg.area.mgh
qdec.bin(9066,0xa049cfa0) malloc: *** mmap(size=1953464320) failed (error code=12)
*** error: can't allocate region
*** set a breakpoint in malloc_error_break to debug
TAGskip: failed to calloc 1953461248 bytes!
Cannot allocate memory
Best Wishes,
Richard E. Frye, M.D., Ph.D., F.A.A.P. Assistant Professor of Pediatrics and Neurology University of Texas Medical School at Houston 7000 Fannin -- UCT 2478 Houston, TX 77030 Office: 713-500-3245 e-mail: richard.frye@gmail.com
Richard,
Which version of freesurfer is being used? You can find out by typing 'bugr'. Does this memory problem occur for all analysis types, or just the one that you describe?
Nick
On Sat, 2008-10-11 at 15:54 -0500, Richard Frye wrote:
I am running qdec on a Mac Pro OS X 10.5.5 with dual quad pentiums mirrored RAID and 16GB memory.
I have followed the instruction for creating the qdec table, loaded the data in successfully and requested an analysis with two continuous variance. The following is the final output before it crashes because it cannot allocate memory. I have the maximum memory in my machine. What can I do?
$Id: mri_glmfit.c,v 1.138.2.1 2007/09/12 15:38:19 nicks Exp $
cwd /Volumes/share/MRI_Data
cmdline mri_glmfit --y /Volumes/share/MRI_Data/qdec/Untitled/y.mgh -- fsgd /Volumes/share/MRI_Data/qdec/Untitled/qdec.fsgd -- glmdir /Volumes/share/MRI_Data/qdec/Untitled --surf fsaverage lh -- label /Volumes/share/MRI_Data/fsaverage/label/lh.cortex.label -- C /Volumes/share/MRI_Data/qdec/Untitled/contrasts/Avg-Intercept- thickness.mat --C /Volumes/share/MRI_Data/qdec/Untitled/contrasts/Avg- thickness-RL-Cor.mat -- C /Volumes/share/MRI_Data/qdec/Untitled/contrasts/Avg-thickness-RC- Cor.mat
sysname Darwin
hostname Macintosh-2.local
machine i386
user stevenhecht
FixVertexAreaFlag = 1
UseMaskWithSmoothing 1
OneSampleGroupMean 0
y /Volumes/share/MRI_Data/qdec/Untitled/y.mgh
logyflag 0
usedti 0
FSGD /Volumes/share/MRI_Data/qdec/Untitled/qdec.fsgd
labelmask /Volumes/share/MRI_Data/fsaverage/label/lh.cortex.label
maskinv 0
glmdir /Volumes/share/MRI_Data/qdec/Untitled
DoFFx 0
Creating output directory /Volumes/share/MRI_Data/qdec/Untitled
Loading y from /Volumes/share/MRI_Data/qdec/Untitled/y.mgh
Matrix condition is 131.103
Found 149955 points in label.
Pruning voxels by frame.
Found 149955 voxels in mask
Saving mask to /Volumes/share/MRI_Data/qdec/Untitled/mask.mgh
search space = 59659.8
DOF = 32
Starting fit and test
10% 20% 30% 40% 50% 60% 70% 80% 90% 100%
Fit completed in 0.0612333 minutes
Computing spatial AR1 on surface
Residual: ar1mn=0.997008, ar1std=0.001276, gstd=6.640355, fwhm=15.636842
Writing results
Avg-Intercept-thickness
maxvox sig=23.8959 F=850.546 at index 105774 0 0 seed=1224021971
Avg-thickness-RL-Cor
maxvox sig=3.8835 F=18.8999 at index 129111 0 0 seed=1224021971
Avg-thickness-RC-Cor
maxvox sig=-3.9267 F=19.2034 at index 152642 0 0 seed=1224021971
mri_glmfit done
ninputs = 3
Checking inputs
nframestot = 3
Allocing output
Writing to /Volumes/share/MRI_Data/qdec/Untitled/contrasts.sig.mgh
Reading in average area /Volumes/share/MRI_Data/fsaverage/surf/lh.white.avg.area.mgh
Reading in average area /Volumes/share/MRI_Data/fsaverage/surf/lh.pial.avg.area.mgh
qdec.bin(9066,0xa049cfa0) malloc: *** mmap(size=1953464320) failed (error code=12)
*** error: can't allocate region
*** set a breakpoint in malloc_error_break to debug
TAGskip: failed to calloc 1953461248 bytes!
Cannot allocate memory
Best Wishes,
Richard E. Frye, M.D., Ph.D., F.A.A.P. Assistant Professor of Pediatrics and Neurology University of Texas Medical School at Houston 7000 Fannin -- UCT 2478 Houston, TX 77030 Office: 713-500-3245 e-mail: richard.frye@gmail.com
Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer
freesurfer@nmr.mgh.harvard.edu