Out of memory ?

6 次查看(过去 30 天)
Ali Umair
Ali Umair 2012-1-31
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

采纳的回答

Andreas Goser
Andreas Goser 2012-1-31
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 个评论
Ali Umair
Ali Umair 2012-1-31
Will u please elaborate ?
Andreas Goser
Andreas Goser 2012-1-31
Well on which part? Saving memory or increasing memory?

请先登录,再进行评论。

更多回答(1 个)

Annie micheal
Annie micheal 2016-9-9
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 个评论
Steven Lord
Steven Lord 2016-9-9
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 2016-9-9
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

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Linear Algebra 的更多信息

标签

产品

Community Treasure Hunt

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

Start Hunting!

Translated by