Hi all,
I'm trying to analyze longitudinal data with for a subject with six time points. However, when I try to create a within-subject template using all six time points, I get the following error message on TP 3:
Resolution: 0 Iteration(single-prec): 1MRIalloc(256, 256, 256): could not allocate 262144 bytes for 140th slice
Cannot allocate memory Linux HMRI-HP.SME 2.6.35.6-45.fc14.i686 #1 SMP Mon Oct 18 23:56:17 UTC 2010 i686 i686 i386 GNU/Linux recon-all -s MKA_base exited with ERRORS at Wed Jul 13 14:55:32 PDT 2011
After trying again using only five of the six time points, this occurs on TP 4:
Resolution: 0 Iteration(single-prec): 1 -- diff. to prev. transform: 0.114929 Iteration(single-prec): 2terminate called after throwing an instance of 'std::bad_alloc' what(): std::bad_alloc Abort (core dumped) Linux HMRI-HP.SME 2.6.35.6-45.fc14.i686 #1 SMP Mon Oct 18 23:56:17 UTC 2010 i686 i686 i386 GNU/Linux recon-all exited with ERRORS at Wed Jul 13 11:52:31 PDT 2011
Is there any way to avoid these errors while using all of the time points? Is it even necessary to use all six time points when creating the base (it's over the course of ~1.5 years), or could I just use two or three? Thanks!
Jessica
Hi Jessica,
you need more memory. What FS version do you use, I think more recent versions of mri_robust_template are a little less memory hungry. 6 time points are not that many. I registered 15 on my machine recently (I have 32 gig, but usually only a fraction of that is free).
Martin
On Wed, 2011-07-13 at 15:30 -0700, Jessica Liu wrote:
Hi all,
I'm trying to analyze longitudinal data with for a subject with six time points. However, when I try to create a within-subject template using all six time points, I get the following error message on TP 3:
Resolution: 0 Iteration(single-prec): 1MRIalloc(256, 256, 256): could not allocate 262144 bytes for 140th slice
Cannot allocate memory Linux HMRI-HP.SME 2.6.35.6-45.fc14.i686 #1 SMP Mon Oct 18 23:56:17 UTC 2010 i686 i686 i386 GNU/Linux recon-all -s MKA_base exited with ERRORS at Wed Jul 13 14:55:32 PDT 2011
After trying again using only five of the six time points, this occurs on TP 4:
Resolution: 0 Iteration(single-prec): 1 -- diff. to prev. transform: 0.114929 Iteration(single-prec): 2terminate called after throwing an instance of 'std::bad_alloc' what(): std::bad_alloc Abort (core dumped) Linux HMRI-HP.SME 2.6.35.6-45.fc14.i686 #1 SMP Mon Oct 18 23:56:17 UTC 2010 i686 i686 i386 GNU/Linux recon-all exited with ERRORS at Wed Jul 13 11:52:31 PDT 2011
Is there any way to avoid these errors while using all of the time points? Is it even necessary to use all six time points when creating the base (it's over the course of ~1.5 years), or could I just use two or three? Thanks!
Jessica _______________________________________________ Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer
freesurfer@nmr.mgh.harvard.edu