필터 지우기
필터 지우기

Error using: Out of memory

조회 수: 3 (최근 30일)
Doriana
Doriana 2013년 7월 25일
Buongiorno,
sto lavorando con model based clustering e dopo aver classificato 15 cluster matlab si è fermato e mi segnala un error Using: out of memory. Come posso configurare matlab in modo tale da poter ottimizzare la memoria?
Le caratteristiche del mio pc sono: Memoria installata (RAM: 4.0 GB (3.0 GB utilizzabile) Tipo sistema: Sistema operativo a 32 bit
Vi ringrazio
Doriana Hoti mail: Doriana.Hoti@Cedacri.it
  댓글 수: 1
Daniel Shub
Daniel Shub 2013년 7월 25일
Google translate says:
Good morning,
I'm working with model-based clustering and cluster matlab ranked 15th after he stopped and gives me an error Using: out of memory. How do I set matlab so that you can optimize your memory?
The characteristics of my PC are: Installed memory (RAM: 4.0 GB (3.0 GB usable) System type: 32-bit operating system
thank you

댓글을 달려면 로그인하십시오.

채택된 답변

Iain
Iain 2013년 7월 25일
Hello,
"Out of memory" errors typically occur because your code is trying to store a single large array, and it will not fit (contiguously) into the system RAM.
Large arrays can be duplicated when either they are passed into functions, and when increasing the size of the array.
The command "pack" can be used to move memory to attempt to increase the amount of contiguous memory is available. Pack only works at commandline.
Ciao.
  댓글 수: 4
Doriana
Doriana 2013년 7월 25일
understand.....:(
Iain
Iain 2013년 7월 25일
If you save your data to file instead of letting arrays grow too large, you will be able to run your code "indefinitely".

댓글을 달려면 로그인하십시오.

추가 답변 (1개)

Doriana
Doriana 2013년 7월 25일
Thank you for answering me. So, I have to type the command "pack" in the command window , but when?? when I get the error or before running the program??

카테고리

Help CenterFile Exchange에서 Startup and Shutdown에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by