Matlab Crashing when Saving Large .mat Files

10 views (last 30 days)
I am running R2017a on a Max OS X 10.12.5 computer. Recently, the program has started crashing whenever I try to save workspace to any location (tried changing filename, directory etc already). I am performing big simulations so that the final size of the workspace is ~20Gb and I have ~50000 x 50000 matrices. Since this never happened before, I am struggling to find a solution for this. Also, it is extremely frustrating because I basically lose all the results every single time and I am completely stuck. Has anyone else had this problem?
  4 Comments
Alessandro Fascetti
Alessandro Fascetti on 25 Apr 2018
Apparently there is no real solution. OS shuts the process down when it is taking too many resources. The workaround I found is to use the save command at every step of the simulations and clear the Workspace as much as possible. If that is not applicable to your case, the only option is probably to buy a bigger computer.
Ricardo Alejandro Benavides
Hello, Still no solution for this issue? I am having the same problem.

Sign in to comment.

Answers (1)

Steven Lord
Steven Lord on 30 May 2017
Please send the crash report to Technical Support using either the instructions at the end of the crash log file or the Contact Us link in the upper-right corner of this page. Support may be able to give you a workaround or a solution for this problem, or will be able to report this to the development staff for further investigation.

Categories

Find more on Startup and Shutdown in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!