Matlab crashing when needing large data usage
조회 수: 4 (최근 30일)
이전 댓글 표시
I'm using Matlab 2016a on OS X 10.11.3 and I am having trouble running code that generates large amount of data. I bought an external hard drive, formatted it to exFat and copied my Matlab application onto the external drive. When I run my code, which needs 80GB of space for the process (it is a 1 Terabyte drive) Matlab crashes (just completely closes the application without giving any report) after 50GB is used (as seen in Activity Monitor). How can I stop this from crashing?
댓글 수: 1
jgg
2016년 3월 31일
What do you mean, when you run your code? If you're running your code it uses RAM, which isn't related to the size of your drive. Maybe you can give more information?
답변 (1개)
Walter Roberson
2016년 3월 31일
It would not be recommended to format the complete external drive as exFAT. You should format most of it as Mac OS Extended (Journaled) for the work. If you have a need to share the external drive with a PC by plugging it in to the PC, you could create a second partition on it that you format as exFAT, and copy files to it at need.
If your task needs a large amount of memory, enough that you need to swap to disk, and you want to make it the external drive, then you need to go through a bunch of trouble. See for example http://apple.stackexchange.com/questions/1465/how-can-i-move-virtual-memory-swap-files-to-a-different-drive-or-partition or the very different approach at http://hints.macworld.com/article.php?story=20001215021440138
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Install Products에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!