Increasing swap memory has not increased MATLAB available memory
7 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
I have a program that is running into Out of Memory errors, so I diligently followed the steps on the Resolve "Out of Memory" Errors page, increasing Swap Space to 128GB, which I thought would be more than enough. (I don't really know how much memory is appropriate, so I wildly overshot.) I then restarted the computer as I was instructed by Windows to do. However, when I run the >> memory command in the console, it still comes back as saying that the SystemMemory is only 1279MB, a far cry from my desired 128GB. What can I do?
0 Commenti
Risposte (1)
Steven Lord
il 24 Apr 2018
What release of MATLAB are you using?
Are you using a 32-bit or 64-bit version of MATLAB? The computer function can say which one you're using. That makes a huge difference. From the documentation for release R2015b (which is the last release supported on 32-bit systems):
The platforms and operating systems that MATLAB supports have different memory characteristics and limitations. In particular, the process limit is the maximum amount of virtual memory a single process (or application) can address. On 32-bit systems, this is the most important factor limiting data set size. The process limit must be large enough for MATLAB to store all of the data it is to process, any MATLAB program files, the MATLAB executable itself, and additional state information.
Where possible, choose an operating system that maximizes this number, that is, a 64-bit operating system. The following is a list of MATLAB supported operating systems and their process limits.
Operating System Process Limit
32-bit Windows® 7 and higher 2 GB
32-bit Windows 7 and higher with increaseuserva set (see later) 3 GB
64-bit Windows or Linux® running 32-bit MATLAB <= 4 GB
64-bit Windows, Apple Mac, or Linux running 64-bit MATLAB 8 TB
1 Commento
Vedere anche
Categorie
Scopri di più su Downloads in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!