フィルターのクリア

Running Matlab in Linux using nodesktop or nojvm

6 ビュー (過去 30 日間)
Mihai Milea
Mihai Milea 2022 年 7 月 16 日
コメント済み: Mihai Milea 2022 年 7 月 17 日
Hi . I always used to start matlab on my linux server with -nodesktop version . Or few years ago with -nojvm . I do not use any X servers features just math computations. I see lately after some library updates on the Linux box the following error messages at start
MATLAB is selecting SOFTWARE OPENGL rendering.
Opening log file: /home/mm/java.log.37058
Insufficient space for shared memory file:
4034754
Try using the -Djava.io.tmpdir= option to select an alternate temp location.
When reading the log in that location I see
Operating System: Linux 5.16.16-1.el8.elrepo.x86_64 #1 SMP PREEMPT Fri Mar 18 09:50:20 EDT 2022 x86_64
Processor ID: x86 Family 143 Model 49 Stepping 0, AuthenticAMD
Host Name: up-ph4
Java HotSpot(TM) 64-Bit Server VM warning:
  3 件のコメント
Alex Pedcenko
Alex Pedcenko 2022 年 7 月 16 日
Also -nojvm can still be used together with -nodesktop. -nodesktop alone does not disable JVM.
Mihai Milea
Mihai Milea 2022 年 7 月 17 日
Yes that worked , thank you very much . I do not use Java at all . So -nodesktop -nojvm solved the issue .

サインインしてコメントする。

回答 (1 件)

Walter Roberson
Walter Roberson 2022 年 7 月 16 日
There are several ways to implement shared memory between processes.
One of the major ways is to allocate physical memory (RAM) aligned on a physical page, and use the virtual address hardware to map the same physical memory into the logical address space of multiple processes. The memory is transient and limited to the size of physical memory.
One of the other ways is to create a file that has multiple access. The file can remain on disk and is not limited to physical memory.
Java appears to be using disk-backed shared memory. But that runs into problems if the disk gets full.
You should check for your disk being full and free up some disk space.

カテゴリ

Help Center および File ExchangeStartup and Shutdown についてさらに検索

製品


リリース

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by