Why this message appears?

4 visualizaciones (últimos 30 días)
huda nawaf
huda nawaf el 8 de Ag. de 2022
Comentada: Steven Lord el 8 de Ag. de 2022
HELLO,
In main program I call two functions. I'm reading four big files in main program and the functions in total.
I recieved the following error message :
Error using dlmread
Out of memory.
Error in IC_realdata1 (line 18) %%%%FUNCTION
w=dlmread('we.txt');
Error in obj_realdata1 (line 30)%%%% FUNCTION
c=IC_realdata1(gen(ch,j));
Error in EXAMPLE_GA_TOUR (line 21)%%% THE MAIN PROGRAM
a=obj_realdata1(gen);
Related documentation
Thanks in advance

Respuestas (1)

Jan
Jan el 8 de Ag. de 2022
The message is clear: "Out of memory" means, that the size of the data, you try to load, exceeds the available RAM.
Install more RAM or clear data, which are not used anymore.
  1 comentario
Steven Lord
Steven Lord el 8 de Ag. de 2022
Another option is to use the big data functionality in MATLAB, which is designed to operate on data sets that are too large to fit in memory.

Iniciar sesión para comentar.

Categorías

Más información sobre Startup and Shutdown en Help Center y File Exchange.

Etiquetas

Productos


Versión

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by