AFNI Message Board

Dear AFNI users-

We are very pleased to announce that the new AFNI Message Board framework is up! Please join us at:

https://discuss.afni.nimh.nih.gov

Existing user accounts have been migrated, so returning users can login by requesting a password reset. New users can create accounts, as well, through a standard account creation process. Please note that these setup emails might initially go to spam folders (esp. for NIH users!), so please check those locations in the beginning.

The current Message Board discussion threads have been migrated to the new framework. The current Message Board will remain visible, but read-only, for a little while.

Sincerely, AFNI HQ

History of AFNI updates  

|
October 30, 2009 02:17PM
Hi,

I'm getting this memory error:

3dDeconvolve(17053) malloc: *** vm_allocate(size=1073152) failed (error code=3)
3dDeconvolve(17053) malloc: *** error: can't allocate region
3dDeconvolve(17053) malloc: *** set a breakpoint in szone_error to debug

*** MCW_malloc(1069056) from edt_substbrick.c#49 FAILS!
*** current total usage=3699807301 bytes

*** malloc error for dataset sub-brick
** Memory usage: chunks=12211 bytes=3699807301
EDIT_substitute_brick
3dDeconvolve main

The error prints after:

++ Wrote bucket dataset into ./DE013-contactics-BLOCK-SPMG3-stats+orig.BRIK
+ created 157 FDR curves in bucket header
++ Wrote iresp 3D+time dataset into ./DE013-contactics-BLOCK-SPMG3-iresp1+orig.BRIK
...
++ Wrote iresp 3D+time dataset into ./DE013-contactics-BLOCK-SPMG3-iresp7+orig.BRIK
++ Wrote sresp 3D+time dataset into ./DE013-contactics-BLOCK-SPMG3-sresp1+orig.BRIK
...
++ Wrote sresp 3D+time dataset into ./DE013-contactics-BLOCK-SPMG3-sresp7+orig.BRIK

("..." mine.)

That is, the command reports completion of results output prior to generating the error. No 3dDeconvolve.err file is written nor is the error flagged as "fatal." Should I conclude that the error is a performance error only or should I doubt the accuracy of my results/stats output files too? The truncated command line is below.

thanks
Iain



3dDeconvolve
-input DE013-contactics-deobS+orig
-censor ../stim/DE013-contactics-censor.1D
-float
-TR_times 2.48
-local_times
-concat ../../../control-contactics/contactics-concat-onsets.1D
-polort 5
-num_stimts 14
-stim_times 1 ../stim/DE013-contactics-condition01.1D BLOCK(17,1)
...
-stim_times 6 ../stim/DE013-contactics-condition06.1D BLOCK(17,1)
-stim_times 7 ../stim/DE013-contactics-condition07.1D SPMG3
...
-num_glt 17
...
-fout
-tout
-rout
-bout
-bucket DE013-contactics-BLOCK-SPMG3-stats
-fitts DE013-contactics-BLOCK-SPMG3-yhat
-iresp 1 DE013-contactics-BLOCK-SPMG3-iresp1
-sresp 1 DE013-contactics-BLOCK-SPMG3-sresp1
...
-iresp 7 DE013-contactics-BLOCK-SPMG3-iresp7
-sresp 7 DE013-contactics-BLOCK-SPMG3-sresp7
-xjpeg DE013-contactics-BLOCK-SPMG3-xmat.jpg
-x1D DE013-contactics-BLOCK-SPMG3-xmat.x1D

Subject Author Posted

3dDeconvolve malloc error

Iain DeWitt October 30, 2009 02:17PM

Re: 3dDeconvolve malloc error

bob cox October 30, 2009 04:03PM

Re: 3dDeconvolve malloc error

Daniel Glen October 30, 2009 04:44PM

Re: 3dDeconvolve malloc error

Iain DeWitt October 30, 2009 05:55PM