Hello, Since upgrading to the Version5 of FS, I cannot use the mri_convert I saw in the FS mailing a similar problem but in recon-all. Do you have any suggestion for mri_convert command? This is my command and error, and I added in also the reference of the mail I talked about. Thanks in Advance for your help. ps: I am working on MacPro4,1 with 6GB Leila
bash-3.2$ mri_convert -vs 1 1 1 $CMT_SUBJECTS_DIR/$MY_SUBJECT/raw_diffusion/${MY_SUBJECT}.nii $CMT_SUBJECTS_DIR/$MY_SUBJECT/raw_diffusion/${MY_SUBJECT}_b0_resampled.nii.gz
mri_convert -vs 1 1 1 /Users/leila/cmt/subjects//chuv_ayse_1_tp3/raw_diffusion/chuv_ayse_1_tp3.nii /Users/leila/cmt/subjects//chuv_ayse_1_tp3/raw_diffusion/chuv_ayse_1_tp3_b0_resampled.nii.gz $Id: mri_convert.c,v 1.166.2.2 2010/08/10 19:11:50 greve Exp $ reading from /Users/leila/cmt/subjects//chuv_ayse_1_tp3/raw_diffusion/chuv_ayse_1_tp3.nii... INFO: using NIfTI-1 qform TR=6100.00, TE=0.00, TI=0.00, flip angle=0.00 i_ras = (-1, 0, 0) j_ras = (0, -1, 0) k_ras = (0, 0, 1) Reslicing using trilinear interpolation mri_convert(18893) malloc: *** mmap(size=16777216) failed (error code=12) *** error: can't allocate region *** set a breakpoint in malloc_error_break to debug MRIalloc(212, 212, 102): could not allocate 89888 bytes for 36156th slice
Cannot allocate memory
Re: [Freesurfer] Memory allocation problem with mri_robust_template Mahen Fri, 11 Feb 2011 09:16:27 –0800
How much RAM do you have on your machine? The robust template stuff that you mention at the end can use a lot if you have many timepoints in a longitudinal analysis, but just calling mri_convert directly as you seem to be doing shouldn't take very much. Is this a shared machine? Are there other things running?
cheers Bruce
On Mon, 7 Mar 2011, Ben Hamida Cammoun Leila Faiza wrote:
Hello, Since upgrading to the Version5 of FS, I cannot use the mri_convert I saw in the FS mailing a similar problem but in recon-all. Do you have any suggestion for mri_convert command? This is my command and error, and I added in also the reference of the mail I talked about. Thanks in Advance for your help. ps: I am working on MacPro4,1 with 6GB Leila
bash-3.2$ mri_convert -vs 1 1 1 $CMT_SUBJECTS_DIR/$MY_SUBJECT/raw_diffusion/${MY_SUBJECT}.nii $CMT_SUBJECTS_DIR/$MY_SUBJECT/raw_diffusion/${MY_SUBJECT}_b0_resampled.nii.gz
mri_convert -vs 1 1 1 /Users/leila/cmt/subjects//chuv_ayse_1_tp3/raw_diffusion/chuv_ayse_1_tp3.nii /Users/leila/cmt/subjects//chuv_ayse_1_tp3/raw_diffusion/chuv_ayse_1_tp3_b0_resampled.nii.gz $Id: mri_convert.c,v 1.166.2.2 2010/08/10 19:11:50 greve Exp $ reading from /Users/leila/cmt/subjects//chuv_ayse_1_tp3/raw_diffusion/chuv_ayse_1_tp3.nii... INFO: using NIfTI-1 qform TR=6100.00, TE=0.00, TI=0.00, flip angle=0.00 i_ras = (-1, 0, 0) j_ras = (0, -1, 0) k_ras = (0, 0, 1) Reslicing using trilinear interpolation mri_convert(18893) malloc: *** mmap(size=16777216) failed (error code=12) *** error: can't allocate region *** set a breakpoint in malloc_error_break to debug MRIalloc(212, 212, 102): could not allocate 89888 bytes for 36156th slice
Cannot allocate memory
Re: [Freesurfer] Memory allocation problem with mri_robust_template Mahen Fri, 11 Feb 2011 09:16:27 ?0800
freesurfer@nmr.mgh.harvard.edu