OpenJDK OOM issue -
Yu, Tim (NSB - CN/Chengdu)
tim.yu at nokia-sbell.com
Wed Sep 20 08:44:23 UTC 2017
Hi All
Thank you all for the quick response.
The environment information is listed as below, could you please help to further check?
1. What OS is this?
# cat /etc/redhat-release
Red Hat Enterprise Linux Server release 6.9 (Santiago)
# uname -a
Linux cloudyvm16 2.6.32-696.6.3.el6.x86_64 #1 SMP Fri Jun 30 13:24:18 EDT 2017 x86_64 x86_64 x86_64 GNU/Linux
2.GC log is listed as below. The heap information cannot be printed out in gc-2017_09_20-09_21_15.log when OOM happens. In gc-2017_09_20-09_21_17.log, you can see the heap begins with 0x0000000787380000 and it should be not the first 4G virtual memory address.
-rw-r--r-- 1 19477 Sep 20 09:21 hs_err_pid12678.log
-rw-r--r-- 1 570 Sep 20 09:21 gc-2017_09_20-09_21_15.log
-rw-r--r-- 1 17741 Sep 20 09:21 hs_err_pid12706.log
-rw-r--r-- 1 1297 Sep 20 09:21 gc-2017_09_20-09_21_17.log
-rw-r--r-- 1 1722 Sep 20 09:21 gc-2017_09_20-09_21_18.log
-rw-r--r-- 1 1297 Sep 20 09:21 gc-2017_09_20-09_21_19.log
-rw-r--r-- 1 1297 Sep 20 09:21 gc-2017_09_20-09_21_20.log
3. This issue happens occasionally but frequently. We periodically launch a JAVA program to use JMX to monitor service status of another JAVA service.
Br,
Tim
-----Original Message-----
From: Andrew Haley [mailto:aph at redhat.com]
Sent: Tuesday, September 19, 2017 9:13 PM
To: Yu, Tim (NSB - CN/Chengdu) <tim.yu at nokia-sbell.com>; jdk8-dev at openjdk.java.net; jdk8u-dev at openjdk.java.net
Cc: Shen, David (NSB - CN/Chengdu) <david.shen at nokia-sbell.com>
Subject: Re: OpenJDK OOM issue -
On 19/09/17 09:50, Yu, Tim (NSB - CN/Chengdu) wrote:
> Hi OpenJDK dev group
>
> We meet one issue that the VM failed to initialize. The error log is as below. We checked both memory usage and thread number. They do not hit the limit. So could you please help to confirm why "java.lang.OutOfMemoryError: unable to create new native thread" error occurs? Many thanks.
What OS is this?
--
Andrew Haley
Java Platform Lead Engineer
Red Hat UK Ltd. <https://www.redhat.com>
EAC8 43EB D3EF DB98 CC77 2FAD A5CD 6035 332F A671
More information about the jdk8u-dev
mailing list