Hello everybody,
I have a problem running make_average_subject for a large number of subjects (>400) on a Mac Intel. I tried with different Freesurfer versions (all the log outputs are attached). Using the freesurfer version 4.3 and 4.4 the make_average_subject script always stop at the 297th subject with the error "Cannot allocate memory". I already tried to uncomment the line "limit descriptors unlimited" or to set it to various values, as proposed in the mailing list, but without success (it always stop at the 297th subject). Then I tried with the Freesurfer version 4.5 (therefore I had to recompute the lh.inflated.H and lh.inflated.K which are not automatically produced in previous versions), but with the 4.5 version I got a strange "license error" message in the middle of the script (and my licence is certainly fine as I can run any other script without problems).
Does anyone have an idea? Many thanks in advance for your precious help,
Marie