Memory in Matlab 2015b 32-bit OS is very limited. How can I allot more memory for it to use?

5 次查看(过去 30 天)
I am attempting to use the matlab mapping tool box to process some LANDSAT8 satellite images. Unfortunately, it is almost impossible to do anything since the memory available for MATLAB to use is very limited:
Maximum possible array: 487 MB (5.102e+08 bytes) *
Memory available for all arrays: 985 MB (1.033e+09 bytes) **
Memory used by MATLAB: 549 MB (5.752e+08 bytes)
Physical Memory (RAM): 2644 MB (2.773e+09 bytes)
* Limited by contiguous virtual address space available.
** Limited by virtual address space available.
>>
I have tried increasing the page file but did not seem to do any difference. What other things can I try? I also have an external 1TB hard drive. I was wondering if it was possible to allow MATLAB to use some memory on that.
Thanks for the help in advance!

回答(2 个)

Steven Lord
Steven Lord 2018-5-7
Switch to a 64-bit version of MATLAB on a 64-bit OS. See this section of the documentation for release R2015b for an explanation of the limitations of running a 32-bit version of MATLAB on a 32-bit OS.

Walter Roberson
Walter Roberson 2018-5-7
Install more ram. Also, use the /3G boot switch. That will allow you use up to 3 gigabytes per process. In some windows version with some hardware you can activate XM to effectively get up to 3.5 gigabytes per process I seem to remember.
Seriously, if you must use 32 bit then you should install at least 4 gigabytes of ram. The limit is per process and since programs such as your antivirus are different processes, installing more than 4 gigabytes can help.

类别

Help CenterFile Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by