Dear SPM Gurus, I am stuck with an 'Out of memory' problem while estimating the parameters of a fMRI data set. The puzzling thing for me is that in the past I have succesfully estimated the parameters of design matrices of this very same size (3360x3360) and even larger. So something is different now and I can't figure out what. Perhaps somebody can give a tip. I have appended below the error message I get on screen. Maybe in that message there is a hint to my problem. Thanks a lot in advance, Jorge PS: I am working on a DEC alpha workstation with 1GByte swap space. The maxMem variable in spm_spm.m is set to 2^25 . I have also tried using 2^23 and 2^29 but it didn't help. In the past 2^25 was fine for this and larger matrix sizes. While running the estimation I am not using the workstation for other things. It is quite frustrating to find, after approximately one hour of processing, that the estimation crashed just before getting to the end. Message on screen: ******************* SPM99b: spm_spm (v2.28) 18:49:53 - 01/08/2000 ======================================================================== Initialising design space : ...F-contrastsize of MV is: ans = 3360 3360 Name Size Bytes Class MV 3360x3360 90316800 double array V 3360x3360 4856164 sparse array action 1x4 8 char array ans 1x2 16 double array rk 1x1 8 double array sX 1x1 6123904 struct array varargin 1x3 7867092 cell array Grand total is 13238362 elements using 109163992 bytes Name Size Bytes Class MV 3360x3360 90316800 double array action 1x4 8 char array ans 1x2 16 double array rk 1x1 8 double array Grand total is 11289607 elements using 90316832 bytes ...done Output images : ...initialised Plane 46/46 , plank 3/3 : ...done Design parameters : ...V, & traces??? Error while evaluating uicontrol Callback. >> ??? Error using ==> .* Out of memory. Type HELP MEMORY for your options. Error in ==> /usr/local/spm99/spm_SpUtil.m On line 470 ==> trRVRV = sum(sum(V.*V)) - 2*sum(sum(V.*MV)) + sum(sum(MV'.*MV)); Error in ==> /usr/local/spm99/spm_spm.m On line 897 ==> [xX.trRV,xX.trRVRV] ... %-Variance expectations ------------------------------------------------------------------- Jorge Jovicich, Dr. rer. nat. Dept. of Neurology | Computation and Neural Systems Harbor-UCLA Medical Center | California Institute of Technology 1124 W Carson St. B-4 | 1200 E California Blv., BI 139-74 Torrance, CA 90502, USA | Pasadena, CA 91125, USA 310-222-5656/7 | 626-395-2882 310-222-5658 (fax) | 626-796-8876 (fax) [log in to unmask] | [log in to unmask] %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%