Hi,

I run -corr and -intra with no errors. -inter finishes without errors if does not use doregcvs. 
When I want to use cvs for registration, I get error:

iterating

 done with candidates

 Active BCs = 91494

 Total BCs = 548640

 no-eqs = 245610

surf2vol(26656) malloc: *** mmap(size=295714816) failed (error code=12)

*** error: can't allocate region

*** set a breakpoint in malloc_error_break to debug

[0]PETSC ERROR: --------------------- Error Message ------------------------------------

[0]PETSC ERROR: Out of memory. This could be due to allocating

[0]PETSC ERROR: too large an object or bleeding by not properly

[0]PETSC ERROR: destroying unneeded objects.

[0]PETSC ERROR: Memory allocated 0 Memory used by process 0

[0]PETSC ERROR: Try running with -malloc_dump or -malloc_log for info.

[0]PETSC ERROR: Memory requested 295714444!



trac-all.error in scripts:


......

PROCESSOR x86_64

OS Darwin

Darwin shemp.mri.yorku.ca 11.4.0 Darwin Kernel Version 11.4.0: Mon Apr  9 19:32:15 PDT 2012; root:xnu-1699.26.8~1/RELEASE_X86_64 x86_64

$Id: trac-preproc,v 1.17.2.5 2011/05/20 06:51:51 ayendiki Exp $

/Users/Maria/Applications/freesurfer/bin/trac-preproc

PWD /Users/Maria

CMD mri_cvs_register --mov mgFS6 --template cvs_avg35 --outdir /Users/maria/Desktop/mgFS/mgFS6/dmri/xfms/cvs


Thank you.