Dear FS experts
I tried to average the brains of 92 subjects. We used a MacPro Quad with 5 GB RAM and about 10 GB virtual memory. When running make_average_subject the following error occurred:
Checking 91 /Applications/freesurfer/subjects/average/tmp/make_average_vol-tmp/seg-SNPs_Vp92.mgh nframestot = 92 Allocing output mri_concat(13587) malloc: *** vm_allocate(size=262144) failed (error code=3) mri_concat(13587) malloc: *** error: can't allocate region mri_concat(13587) malloc: *** set a breakpoint in szone_error to debug MRIalloc(256, 256, 256): could not allocate 262144 bytes for 14117th slice
Cannot allocate memory [Juergen-Haenggis-Computer-MacPro-Quad:/Applications/freesurfer/subjects] juergenh%
Does it really mean there is too less memory or is it a similar problem occurred in other software, i.e. memory acquisition restriction by the Java Runtime Environment? Is there any possibility, beside buying more RAM, to run make_average_subject with the available 5 GB RAM?
Thanks in advance and Happy New Year Best regards Juergen
------------------------------------------------- Juergen Haenggi Ph.D. (Dr. des.) Division of Neuropsychology Institute of Psychology University of Zurich Binzmuehlestrasse 14, PO Box 25 8050 Zurich, Switzerland 0041 44 635 73 97 (phone office) 0041 76 445 86 84 (phone mobile) 0041 44 635 74 09 (fax office) BIN 4.D.04 (office room number) j.haenggi@psychologie.uzh.ch (email) http://www.psychologie.uzh.ch/neuropsy/ (website) http://www.juergenhaenggi.ch (private website) -------------------------------------------------
Hi Juergen,
can you send us the full command line and version info?
thanks (and happy new year!)
Bruce On Tue, 1 Jan 2008, Juergen Haenggi, Psychological Institute wrote:
Dear FS experts
I tried to average the brains of 92 subjects. We used a MacPro Quad with 5 GB RAM and about 10 GB virtual memory. When running make_average_subject the following error occurred:
Checking 91 /Applications/freesurfer/subjects/average/tmp/make_average_vol-tmp/seg-SNPs_Vp92.mgh nframestot = 92 Allocing output mri_concat(13587) malloc: *** vm_allocate(size=262144) failed (error code=3) mri_concat(13587) malloc: *** error: can't allocate region mri_concat(13587) malloc: *** set a breakpoint in szone_error to debug MRIalloc(256, 256, 256): could not allocate 262144 bytes for 14117th slice
Cannot allocate memory [Juergen-Haenggis-Computer-MacPro-Quad:/Applications/freesurfer/subjects] juergenh%
Does it really mean there is too less memory or is it a similar problem occurred in other software, i.e. memory acquisition restriction by the Java Runtime Environment? Is there any possibility, beside buying more RAM, to run make_average_subject with the available 5 GB RAM?
Thanks in advance and Happy New Year Best regards Juergen
Juergen Haenggi Ph.D. (Dr. des.) Division of Neuropsychology Institute of Psychology University of Zurich Binzmuehlestrasse 14, PO Box 25 8050 Zurich, Switzerland 0041 44 635 73 97 (phone office) 0041 76 445 86 84 (phone mobile) 0041 44 635 74 09 (fax office) BIN 4.D.04 (office room number) j.haenggi@psychologie.uzh.ch (email) http://www.psychologie.uzh.ch/neuropsy/ (website) http://www.juergenhaenggi.ch (private website)
Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer
This is a problem when it attempts to create an "average" aseg. As a stop-gap measure, I've created a new version that will not stop the execution if this stage fails. You can get it from here:
ftp://surfer.nmr.mgh.harvard.edu/transfer/outgoing/flat/greve/make_average_volume
doug
Juergen Haenggi, Psychological Institute wrote:
Dear FS experts
I tried to average the brains of 92 subjects. We used a MacPro Quad with 5 GB RAM and about 10 GB virtual memory. When running make_average_subject the following error occurred:
Checking 91 /Applications/freesurfer/subjects/average/tmp/make_average_vol-tmp/seg-SNPs_Vp92.mgh
nframestot = 92 Allocing output mri_concat(13587) malloc: *** vm_allocate(size=262144) failed (error code=3) mri_concat(13587) malloc: *** error: can't allocate region mri_concat(13587) malloc: *** set a breakpoint in szone_error to debug MRIalloc(256, 256, 256): could not allocate 262144 bytes for 14117th slice
Cannot allocate memory [Juergen-Haenggis-Computer-MacPro-Quad:/Applications/freesurfer/subjects] juergenh%
Does it really mean there is too less memory or is it a similar problem occurred in other software, i.e. memory acquisition restriction by the Java Runtime Environment? Is there any possibility, beside buying more RAM, to run make_average_subject with the available 5 GB RAM?
Thanks in advance and Happy New Year Best regards Juergen
Juergen Haenggi Ph.D. (Dr. des.) Division of Neuropsychology Institute of Psychology University of Zurich Binzmuehlestrasse 14, PO Box 25 8050 Zurich, Switzerland 0041 44 635 73 97 (phone office) 0041 76 445 86 84 (phone mobile) 0041 44 635 74 09 (fax office) BIN 4.D.04 (office room number) j.haenggi@psychologie.uzh.ch (email) http://www.psychologie.uzh.ch/neuropsy/ (website) http://www.juergenhaenggi.ch (private website)
Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer
freesurfer@nmr.mgh.harvard.edu