MATLAB crashes on startup when using jvm (ubuntu 16.04.1)

조회 수: 2 (최근 30일)
Michael Hennessey
Michael Hennessey 2018년 6월 16일
댓글: Pepijn Marcus 2019년 2월 25일
I recently installed MATLAB R2018a and experienced crashing on startup. Whenever I ran matlab from the terminal the splash would pop up for a few seconds, then the entire OS would freeze. I was forced to hard reset my computer as I was completely locked out. Because of this, no error messages or logs have been created at any point in time.
I then uninstalled MATLAB then reinstalled it and was met with the same error. I uninstalled MATLAB again then installed the R2016b version which works on another machine of mine with the same operating system. The exact same crashing recurred.
I then discovered that I am able to run MATLAB successfully if I start it with the -nojvm option. I then did a fresh install of java (OpenJDK version 1.8.0_171) after finding it was not installed. This did not resolve the issue.
Any help would be greatly appreciated, thank you.
  댓글 수: 1
Gaston Melo
Gaston Melo 2018년 9월 20일
Did you solve your problem? Im expirience problems with ubuntu 18.04 and matlab 2018b. It only works with -nojvm. If I tried to launch matlab the system crash and need to reboot.Could this be a memory problem, i have 4 gb ram? i have installed oracle 8 -jre.

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

답변 (3개)

Pepijn Marcus
Pepijn Marcus 2019년 2월 22일
Any solution? I've got exactly the same problem.

Gaston Melo
Gaston Melo 2019년 2월 22일
Hi, it depends on OS you have (linux version). In my case I was using Ubuntu and when matlab started the system crash due to CPU reach over 100%. So I needed to increase (i dont remember now the command) by console command. You can check the problem using the command "top" on linux console.
I changed Ubuntu to opensuse (tumbleweed) and matlab installation was really smooth (no problem at all).
Regards
Gaston
  댓글 수: 1
Pepijn Marcus
Pepijn Marcus 2019년 2월 22일
Matlab indeed uses a lot of CPU when starting up, top showed up to 300% until crash. My PC has four cores, so I started with:
taskset -c 3 matlab
to try and boot matlab on all cores, to no avail. Will try to keep this updated while I try other things, if anyone can help I'd be much obliged.

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


Gaston Melo
Gaston Melo 2019년 2월 22일
try this one
ulimit -c unlimited ./matlab
  댓글 수: 1
Pepijn Marcus
Pepijn Marcus 2019년 2월 25일
That doesn't do anything, unfortunately (and neither does ulimit -c unlimited matlab).

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

카테고리

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

제품


릴리스

R2016b

Community Treasure Hunt

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

Start Hunting!

Translated by