MOTU: A morte do Java

MOTU: A morte do Java
👉 Link: https://www.youtube.com/watch?v=6stFXaIU-HA
đź•› Quando: 12h do dia 01 de Abril, Quinta Feira! đź•›
✓ Tema: A morte do Java, chegou o momento de falarmos sobre este tópico com alguém que respirou Java por quase todos os vinte e cinco anos da existência desta tecnologia. É chegado o momento.

👨‍💻👩‍💻💭 Experts da Semana

Nesta edição do nosso papo deep dive vamos conversar com
▪️ Elder Moraes (Twitter: @elderjava)
▪️ Karina Varela ( Twitter: @kvarel4 )
▪️ Otávio Santana ( Twitter: @otaviojava )

Oracle Developer Live – Java Innovations

Join us for technical sessions, hands-on labs, demos, panels, and live Q&A with experts.

Advance Your Application Innovation with Oracle’s Java Technologies

Oracle’s ongoing technology leadership and ecosystem stewardship is advancing Java, strengthening its position as the premier programming language and platform for modern application development. At this event, you’ll enhance your developer skills by learning more about Java from Oracle and industry technical experts. See how Java can help you create the next generation of rich, scalable, secure, and modern applications for a variety of targeted deployment environments. Gain insight into innovations within the Java 16 release that improve the performance, stability, and security of application development.

Register now to learn more about:

  • Modern language features such as Records and Sealed Classes
  • The introduction of the new Vector API
  • Projects such as GraalVM, Helidon, and Micronaut

RS-7445 [Serv MS leaking memory] [It will be restarted] [] [] [] [] [] [] [] [] [] []

Hello!
Having this error from cell alerthistory.log? Don’t panic!
Take a look in MOS: Exadata Storage Cell reports error RS-7445 [Serv MS Leaking Memory] (Doc ID 1954357.1). It’s related to Bug  – RS-7445 [SERV MS LEAKING MEMORY].

The issue is a memory leak in the Java executable and affects systems running with JDK 7u51 or later versions. This is relevant for all versions in Release 11.2 to 12.1.

What happens is that MS process is consuming high memory (up to 2GB).  Normally MS use around 1GB but because of the bug the memory allocated can grow upt to 2GB.  You can check it as per example below:

[root@exaserver ~]# ps -feal|grep java
0 S root     16493 14737  0  80   0 - 15317 pipe_w 18:34 pts/0    00:00:00 grep java
0 S root     22310 27043  2  80   0 - 267080 futex_ 18:15 ?       00:00:27 /usr/java/default/bin/java -Xms256m -Xmx512m -XX:-UseLargePages -Djava.library.path=/opt/oracle/cell/cellsrv/lib -Ddisable.checkForUpdate=true -jar /opt/oracle/cell/oc4j/ms/j2ee/home/oc4j.jar -out /opt/oracle/cell/cellsrv/deploy/log/ms.lst -err /opt/oracle/cell/cellsrv/deploy/log/ms.err

Note that: 267080 * 4096 = 1143MB (1GB). If your number is higher than this, it indicates the presence of the bug.

More“RS-7445 [Serv MS leaking memory] [It will be restarted] [] [] [] [] [] [] [] [] [] []”