- Real Mem: 7.86 GB
- Virtual Mem: 8.21 GB
- Private Mem: 7.7.5 GB
- Shared Mem: 44.9 MB
Matlab not using all available RAM in OSX 10.7
2 ビュー (過去 30 日間)
古いコメントを表示
I am trying to process a large image file in Matlab 2012a on a Mac Pro with 32 GB of memory. I keep getting out of memory errors. When I look at activity monitor, matlab is never using more than ~2.0GB of RAM but has ~30GB of page outs to virtual memory (compared to ~15GB of page ins). It seems like it should be using more physical memory, but will not. I checked ulimit and it says the OS memory limit is set to unlimited. I tried starting my script with unix('ulimit -m unlimited') and still had the same problem. Anyone have any idea what is going on ?
1 件のコメント
Ken Atwell
2012 年 7 月 2 日
Strange, can you try something exceedingly simple: Reboot your machine, start MATLAB, and execute...
A=zeros(1e9,1);
...and nothing else. Then look at the Activity Monitor. Here the values I get on my Mac Pro (only 12 GB RAM; I chose the above value to get close to filling all physical memory on my computer) running Lion with the latest updates:
I don't expect identical results, but these values should be of roughly the same magnitude. What values do you see?
回答 (0 件)
参考
カテゴリ
Help Center および File 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!