How do I increase the amount of memory used by MATLAB?

조회 수: 69 (최근 30일)
nadeem
nadeem 2011년 7월 1일
답변: Walter Roberson 2018년 6월 21일
In one of my application when I tried to compute the PCA using princomp I received an "Out of memory" error. How can I rectify this problem?

답변 (5개)

Paulo Silva
Paulo Silva 2011년 7월 1일
memory
Execute that command and read what MATLAB says.

Krishna Kumar
Krishna Kumar 2011년 7월 1일
go to start menu(assuming windows), right click on my computer, go to properties, go to advanced tab, click performance options and go to virtual memory section and change paging file size.
you can also use 'pack' command. refer its doc for details.

Jerry archamabult
Jerry archamabult 2018년 6월 21일
these answers are useless
  댓글 수: 1
Steven Lord
Steven Lord 2018년 6월 21일
The original question didn't have a lot of details that would allow the posters to offer more detailed suggestions. If you're running into a problem where you're running out of memory, I recommend posting it as a new question (with as much detail as you can) and you may receive more specific guidance or suggestions.

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


Jason Ross
Jason Ross 2011년 7월 1일
With RAM running about $10/GB, you can buy your way out of this problem for a small amount of money (assuming your system can take the additional RAM and that you are running a 64-bit OS)

Walter Roberson
Walter Roberson 2018년 6월 21일
If you are using 32 bit MATLAB on 32 bit Windows, then make sure you have enabled the boot-time /3G flag of your operating system. https://support.microsoft.com/en-ca/help/833721/available-switch-options-for-the-windows-xp-and-the-windows-server-200
Note: R2015b was the last MATLAB version for 32 bit Windows.

카테고리

Help CenterFile Exchange에서 Performance and Memory에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by