32bit Matlab is limited to a maximum of 4GB of memory even when
running on a 64bit operating system with more then 4GB of ram. The
easiest fix would be to install a 64bit version of Matlab. Else
redesign your tasks so that you are working with small arrays.
On Wed, Oct 24, 2012 at 8:36 AM, Vy Dinh <[log in to unmask]> wrote:
> Hi Dennis,
>
> Thank you for your response. I am running a 32-bit Matlab (version 7.4.0) on
> a 64-bit Mac with 8 GB installed, so I don't know what else can contribute
> to this memory issue. Do you have any suggestions?
>
> Best,
>
> Vy
>
> On Mon, Oct 22, 2012 at 8:02 PM, Dennis Thompson <[log in to unmask]>
> wrote:
>>
>> Are you running a 64bit or 32bit Matlab? Are you running a 64bit or
>> 32bit OS. How much memory is installed on your machine?
>>
>> System limits "from the Matlab web site"
>> 32-bit Windows 2 GB
>> 32-bit Linux ~3 GB
>> 64-bit Windows or Linux running 32-bit MATLAB ≤ 4 GB
>> 64-bit Windows, Apple Macintosh OS X, or Linux running 64-bit MATLAB 8
>> TB
>>
>>
>> http://www.mathworks.com/help/matlab/matlab_prog/resolving-out-of-memory-errors.html
>>
>>
>> On Mon, Oct 22, 2012 at 4:58 PM, Vy Dinh <[log in to unmask]> wrote:
>> > Dear SPMers,
>> >
>> > I am trying to test a few subjects (so far 3) in vbm8 and I cannot get
>> > past the affine registration step. Here is the error message displayed in
>> > Matlab:
>> >
>> > Running 'VBM8: Estimate & Write'
>> > Initial Coarse Affine Registration..
>> > Fine Affine Registration..
>> > VBM8 Revision 351
>> > Failed 'VBM8: Estimate & Write'
>> > Error using ==> zeros
>> > Out of memory. Type HELP MEMORY for your options.
>> > In file
>> > "/Users/skip/Desktop/harlow_mount/apps/fmri_progs/spm8_rev4290/toolbox/vbm8/cg_vbm8_write.m"
>> > (v349), function "cg_vbm8_write" at line 224.
>> > In file
>> > "/Users/skip/Desktop/harlow_mount/apps/fmri_progs/spm8_rev4290/toolbox/vbm8/cg_vbm8_run.m"
>> > (v331), function "run_job" at line 228.
>> > In file
>> > "/Users/skip/Desktop/harlow_mount/apps/fmri_progs/spm8_rev4290/toolbox/vbm8/cg_vbm8_run.m"
>> > (v331), function "cg_vbm8_run" at line 89.
>> >
>> > The following modules did not run:
>> > Failed: VBM8: Estimate & Write
>> >
>> > Does anyone have the same issue? I've read that vbm takes up a long
>> > time, but I did not think that this would be an issue for my computer. What
>> > are the memory requirements?
>> >
>> > Many thanks,
>> >
>> > Vy
>> >
>> > Research Assistant
>> > Rush University Medical Center
>
>
|