MATLAB: Out of memory

MATLABout of memory

when two text file of 10 mb each is processed for finding out the cross co-realtion Between Them Matlab Gives Following error
??? Error using ==> fft Out of memory. Type HELP MEMORY for your options.
Error in ==> C:\MATLAB6p5\toolbox\signal\signal\xcorr.m (vectorXcorr) On line 149 ==> X = fft(x,2^nextpow2(2*M-1));
Error in ==> C:\MATLAB6p5\toolbox\signal\signal\xcorr.m On line 54 ==> [c,M,N] = vectorXcorr(x,autoFlag,maxlag,varargin{:});
How Will i increase the memory of Matlab ,Im using Win xp sp2

Best Answer

You may want to decrease the consumed memory...
But for increasing the memory see this link. In particular, look at the 3 GB switch.