Out of memory ?

1 view (last 30 days)
Ali Umair
Ali Umair on 31 Jan 2012
Commented: Annie micheal on 9 Sep 2016
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

Accepted Answer

Andreas Goser
Andreas Goser on 31 Jan 2012
You may want to decrease the consumed memory...
But for increasing the memory see this link. In particular, look at the 3 GB switch.
  2 Comments
Ali Umair
Ali Umair on 31 Jan 2012
Will u please elaborate ?
Andreas Goser
Andreas Goser on 31 Jan 2012
Well on which part? Saving memory or increasing memory?

Sign in to comment.

More Answers (1)

Annie micheal
Annie micheal on 9 Sep 2016
I am using 64 bit operating system and 64 bit matlab. Still i am getting this error Error using svd Out of memory. Type HELP MEMORY for your options. how to fix it.. pls help me
  2 Comments
Steven Lord
Steven Lord on 9 Sep 2016
Please show your call to the svd function (all the inputs and outputs) and state the sizes of any variables that you're passing into svd as inputs.
Annie micheal
Annie micheal on 9 Sep 2016
function [U, S] = pca(X) % PCA for large matrices. % Runs principal component analysis on the dataset X % [U, S] = pca(X) computes eigenvectors of the covariance matrix of X % Returns the eigenvectors U, the eigenvalues (on diagonal) in S % Useful values [m, n] = size(X);
U = zeros(n); S = zeros(n);
eps = (X' * X) ./ m; [U,S,~] = svd(eps); end
size of X is 11525*6400, the data type of X is double

Sign in to comment.

Categories

Find more on Operating on Diagonal Matrices in Help Center and File Exchange

Products

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!