Freesurfer users,

I have ran into a malloc error running trac-all.  Looks like the same error that Stijn posted to the list on 17 Jun 2011.  I did not see a solution posted.  It occurs in dmr_train using trac-all  -prep –c dmrirc.txt.  Also tried  using trac-all –prior –c dmrirc.txt with the same results.  Reset the tcsh limits for datasize, ….  

*********
Loading segmentation from /Applications/freesurfer5_1/trctrain/trc029/dlabel/mni/aparc+aseg.nii.gz
Loading cortex mask from /Applications/freesurfer5_1/trctrain/trc029/dlabel/mni/cortex+2mm.nii.gz
dmri_train(54615) malloc: *** mmap(size=159744) failed (error code=12)
*** error: can't allocate region
*** set a breakpoint in malloc_error_break to debug
MRIalloc(218, 182, 182): could not allocate 158704 bytes for 26th slice

Cannot allocate memory
**********
My system 

Model Name: Mac Pro

  Model Identifier: MacPro3,1

  Processor Name: Quad-Core Intel Xeon

  Processor Speed: 2.8 GHz

  Number Of Processors: 2

  Total Number Of Cores: 8

  L2 Cache (per processor): 12 MB

  Memory: 18 GB

  System Version: Mac OS X 10.5.8


Thanks for any advice or suggestions!


Kevin Dabbs

SMPH/Neurology UW-Madison