High Idle CPU Usage Due to Java on Linux
3 views (last 30 days)
Show older comments
I have experienced this across multiple versions of Matlab and Linux kernels and have yet to find the cause. I'm currently on 2017b, Linux Mint 18.1, kernel 4.12. As soon as I launch Matlab, three of my 4 cores are pegged, and the 4th core is showing 50% usage. The GUI is completely unresponsive and eventually I will either get a Java crash in the command window or I have to kill the Matlab process entirely. Launching with -nojvm doesn't cause the same problem, but I would like to be able to run Matlab with the GUI.
>ver
-----------------------------------------------------------------------------------------------------
MATLAB Version: 9.3.0.713579 (R2017b)
MATLAB License Number: XXXXXX
Operating System: Linux 4.12.0-041200-generic #201707022031 SMP Mon Jul 3 00:32:52 UTC 2017 x86_64
Java Version: Java 1.8.0_121-b13 with Oracle Corporation Java HotSpot(TM) 64-Bit Server VM mixed mode
-----------------------------------------------------------------------------------------------------
MATLAB Version 9.3 (R2017b)
Simulink Version 9.0 (R2017b)
Bioinformatics Toolbox Version 4.9 (R2017b)
Control System Toolbox Version 10.3 (R2017b)
Curve Fitting Toolbox Version 3.5.6 (R2017b)
DSP System Toolbox Version 9.5 (R2017b)
Image Processing Toolbox Version 10.1 (R2017b)
Instrument Control Toolbox Version 3.12 (R2017b)
Mapping Toolbox Version 4.5.1 (R2017b)
Optimization Toolbox Version 8.0 (R2017b)
Parallel Computing Toolbox Version 6.11 (R2017b)
Signal Processing Toolbox Version 7.5 (R2017b)
Simscape Version 4.3 (R2017b)
Simscape Multibody Version 5.1 (R2017b)
Simscape Power Systems Version 6.8 (R2017b)
Simulink Control Design Version 5.0 (R2017b)
Stateflow Version 9.0 (R2017b)
Statistics and Machine Learning Toolbox Version 11.2 (R2017b)
Symbolic Math Toolbox Version 8.0 (R2017b)
------------------------------------------------------------------------
Segmentation violation detected at Fri Feb 2 18:30:59 2018
------------------------------------------------------------------------
Configuration:
Crash Decoding : Disabled - No sandbox or build area path
Crash Mode : continue (default)
Current Graphics Driver: Unknown hardware
Current Visual : 0x20 (class 4, depth 24)
Default Encoding : UTF-8
Deployed : false
GNU C Library : 2.23 stable
Host Name : rosetta
MATLAB Architecture : glnxa64
MATLAB Entitlement ID: 1535817
MATLAB Root : /usr/local/MATLAB/R2017b
MATLAB Version : 9.3.0.713579 (R2017b)
OpenGL : hardware
Operating System : Linux 4.12.0-041200-generic #201707022031 SMP Mon Jul 3 00:32:52 UTC 2017 x86_64
Processor ID : x86 Family 6 Model 78 Stepping 3, GenuineIntel
Virtual Machine : Java 1.8.0_121-b13 with Oracle Corporation Java HotSpot(TM) 64-Bit Server VM mixed mode
Window System : The X.Org Foundation (11804000), display :0
Fault Count: 1
Abnormal termination:
Segmentation violation
Register State (from fault):
RAX = 00000007413ce3e7 RBX = 00007f9ddb91fb60
RCX = 0000000000000000 RDX = 0000000000000088
RSP = 00007f9dcc2f82f0 RBP = 00007f9dcc2f8350
RSI = 00007f9dcc2f8380 RDI = 00000000000003b8
R8 = 00007f9ddb91bc60 R9 = 0000000000000877
R10 = 00007f9dcc2f8300 R11 = 0000000000000001
R12 = 00007f9dcc2f8380 R13 = 0000000000000004
R14 = 00007f9ddb91f9e0 R15 = 00007f9dcc2f8420
RIP = 00007f9ddaf33bf5 EFL = 0000000000010216
CS = 0033 FS = 0000 GS = 0000
Stack Trace (from fault):
[ 0] 0x00007f9ddaf33bf5 /usr/local/MATLAB/R2017b/sys/java/jre/glnxa64/jre/lib/amd64/server/libjvm.so+06130677
[ 1] 0x00007f9ddaf3b9b8 /usr/local/MATLAB/R2017b/sys/java/jre/glnxa64/jre/lib/amd64/server/libjvm.so+06162872
[ 2] 0x00007f9ddb2e3579 /usr/local/MATLAB/R2017b/sys/java/jre/glnxa64/jre/lib/amd64/server/libjvm.so+09995641
[ 3] 0x00007f9ddb2e61a2 /usr/local/MATLAB/R2017b/sys/java/jre/glnxa64/jre/lib/amd64/server/libjvm.so+10006946
[ 4] 0x00007f9ddb2ec02d /usr/local/MATLAB/R2017b/sys/java/jre/glnxa64/jre/lib/amd64/server/libjvm.so+10031149
[ 5] 0x00007f9ddb2a2c10 /usr/local/MATLAB/R2017b/sys/java/jre/glnxa64/jre/lib/amd64/server/libjvm.so+09731088
[ 6] 0x00007f9ddb423a57 /usr/local/MATLAB/R2017b/sys/java/jre/glnxa64/jre/lib/amd64/server/libjvm.so+11307607
[ 7] 0x00007f9ddb42b535 /usr/local/MATLAB/R2017b/sys/java/jre/glnxa64/jre/lib/amd64/server/libjvm.so+11339061
[ 8] 0x00007f9ddb42990a /usr/local/MATLAB/R2017b/sys/java/jre/glnxa64/jre/lib/amd64/server/libjvm.so+11331850
[ 9] 0x00007f9ddb429c8e /usr/local/MATLAB/R2017b/sys/java/jre/glnxa64/jre/lib/amd64/server/libjvm.so+11332750
[ 10] 0x00007f9ddb42a100 /usr/local/MATLAB/R2017b/sys/java/jre/glnxa64/jre/lib/amd64/server/libjvm.so+11333888
[ 11] 0x00007f9ddb281268 /usr/local/MATLAB/R2017b/sys/java/jre/glnxa64/jre/lib/amd64/server/libjvm.so+09593448
[ 12] 0x00007f9e0b5cf6ba /lib/x86_64-linux-gnu/libpthread.so.0+00030394
[ 13] 0x00007f9e0b3053dd /lib/x86_64-linux-gnu/libc.so.6+01078237 clone+00000109
[ 14] 0x0000000000000000 <unknown-module>+00000000
3 Comments
houssam deboucha
on 27 Feb 2018
i'm using linux backbox and i've the same problem really i don't know what should i do
Answers (0)
See Also
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!