Is it possible to disable crash dump files?
14 views (last 30 days)
Show older comments
Hi
I am using matlab-7.14r2012a on a Linux setup and I am running compiled Matlab code. I want to avoid that Matlab creates crash dump files in my home directory. Normally, Matlab creates a $HOME/matlab_crash_dump.XXXX whenever it crashes. I tried redirecting the dump using the "-R -logfile -R filename " option at compile time which works fine but the crash dump is not redirected but duplicated, meaning that the content of matlab_crash_cump.XXXX is appended to filename . Is it possible to completely redirect the crash dump or even disable it?
Regards
PS: I know that it would be better to locate the reason for the crash, I am on it but the program is rather large so it takes a lot of time.
2 Comments
Pratul Chauhan
on 9 Jun 2016
Dear Benjamin Did you manage to find the solution, I am having an exact issue like you.
Answers (2)
Jan
on 9 Jun 2016
Crash dump files can contain sensitive information. They should be created reliably even if the code does not run as expected. Therefore the home directory is the best location to store these files in.
I'm using a cron job to remove all but the last dumb file.
0 Comments
Philip Borghesani
on 20 Jun 2016
There may be a way for you to disable the crash dump files for your tasks, I suggest contacting support directly. The methods of controlling what, when and where crash dump files are created very with MATLAB versions.
0 Comments
See Also
Categories
Find more on Manage Products in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!