Print

Print


Hello,

Have you set the settings for the memory in spm_defaults.m?

Please look for the line with defaults.stats.maxmem

defaults.stats.maxmem = 2^26

2^26 is only 64MB, which can cause out of memory error.

If you have 2GB memory, set

defaults.stats.maxmem = 2^31

and it should solve your problem.

Hope this helps,

Kiyotaka


2009/11/19 wlys111 <[log in to unmask]>:
> I met the problem too.
> The memory of mine is 2 GB, and the task is the fist step of DARTEL. I think
> that is because DARTEL requires more memory than 2GB.
> I have tried the 3GB switch on Windows platform, it run better, and got some
> result, but the problem still came after about 10 minute.
>
> I search on SPM homepage, but there was no system requirement, such as
> memory needed.
>
> Dear SPMers, how much memory are there on your platform ?
>
>
>
> 2009-11-19
> ________________________________
> wlys111
>
> On Wed, 2009-11-18 at 00:44 +0100, cristina scarpazza wrote:
>> Dear all,
>> I' m working on MRI structural images with SPM8 and Matlab 7.1.
>> When I try to do the New Segment, matlab give me the following error:
>>
>> error using ==> cfg_message>issuemsg
>> job execution failed. the full log of this run can be found in MATLAB
>> command window, starting with the lines ...
>>
>> -----------------------------------------------------------------------
>> Running job #1
>> -----------------------------------------------------------------------
>> Running 'New Segment'
>> Failed  'New Segment'
>> Error using ==> zeros
>> Out of memory. Type HELP MEMORY for your options.
>> In file "C:\spm8\toolbox\Seg\spm_preproc_write8.m" (v3172), function
>> "rgrid" at line 435.
>> In file "C:\spm8\toolbox\Seg\spm_preproc_write8.m" (v3172), function
>> "spm_preproc_write8" at line 241.
>> In file "C:\spm8\toolbox\Seg\spm_preproc_run.m" (v3168), function
>> "run_job" at line 112.
>> In file "C:\spm8\toolbox\Seg\spm_preproc_run.m" (v3168), function
>> "spm_preproc_run" at line 27.
>>
>> The following modules did not run:
>> Failed: New Segment
>>
>>
>> Someone knows how this error means and what can I do to continue my
>> work?
>>
>> Hopefully to receiv help from you,
>>
>> Cristina
> --
> John Ashburner <[log in to unmask]>



-- 
Kiyotaka Nemoto, M.D.
Department of Psychiatry
Graduate School of Comprehensive Human Sciences
University of Tsukuba
1-1-1Tennodai Tsukuba, Ibaraki 305-8575, Japan
E-mail: [log in to unmask]