필터 지우기
필터 지우기

MATLAB 2017b freezes on Ubuntu 17.10: memory issue?

조회 수: 4 (최근 30일)
Stefan Weiergraeber
Stefan Weiergraeber 2017년 12월 24일
댓글: Walter Roberson 2018년 2월 5일
Hi,
I recently installed MATLAB2017b on a machine with 32 GB RAM (+32GB of swap) running Ubuntu 17.10 in order to run some computations that require a decent amount of memory. After running parts of the code MATLAB freezes (and with it the whole system). No error message is displayed, the computer just crashes and a hard restart is the only thing I can do. I was able to pin down the exact line at which MATLAB freezes. Before that line is executed my system indicator shows that I'm using 25 GB RAM. Since that specific line creates another large object, I'm assuming that the reason for the freeze is some kind of memory issue.
I'm puzzled by this behavior since, on my iMac running OS X and MATLAB 2016b with only 16GB RAM the exact same code runs without any problems.
Does anybody know what the problem with my code/MATLAB under Linux is? Is there anything I can do to make the code run on the Ubuntu machine?
Thank you very much!
Stefan
  댓글 수: 12
Guillaume R
Guillaume R 2018년 2월 5일
Hello, this is also happening to me, my swap folder is encrypted but I do not wish to disable encryption for obvious security reasons. Is there any other option to solve this problem ? For me the freeze is only on Matlab, not on the whole system though, so it could be a different issue but I don’t know where to start looking.
Walter Roberson
Walter Roberson 2018년 2월 5일
Please read through https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1647400 . It is a confirmed Linux bug, and fixes for it have been released. You should follow the "Continued at" link at the end too as the fix for this problem triggers other related but distinct issues so you need multiple fixes.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Startup and Shutdown에 대해 자세히 알아보기

태그

제품

Community Treasure Hunt

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

Start Hunting!

Translated by