Working at 1mm resolution is likely to cause problems, as it is the image size
rather than the number of subjects that determines how much memory is needed.
If you go for very high resolution, then you will need a 64 bit computer for
it to run. The basic DARTEL algorithm is quite memory intensive. If an
image contains n voxels, then about 40n floating point values need to be
stored (two Jacobian fields alone are 18n). The value of 40 may also differ
depending on the number of tissue classes.
I'm surprised it had problems at 1.5mm resolution though, as it runs perfectly
well on my laptop. Make sure you exit MATLAB and start it up again new, as
there may be some sort of memory leak (in my mex routines) if things have
On Tuesday 19 February 2008 11:44, Alfonso Roberto Barrós Loscertales wrote:
> Dear SPMers,
> I am running DARTEL in a sample of 26 subjects following the "Using DARTEL"
> chapter. I am using a Windows OS in computer with 2Gb of RAM. Free disk
> space is about 70 Gb. However, I am getting the error message "Error
> running job==>plus. OUT OF MEMORY" or just "OUT OF MEMORY". I tried to
> change maxMem default, or run DARTEL on 3 subjects only, or changing
> Windows virtual memory, or working with the default voxel size (1.5-mm)
> instead of my first trial changing voxel size to 1-mm.
> Please, any advice?
> Thanks in advance.