Failure adopt JRE 11 at AIX
Thomas Stüfe
thomas.stuefe at gmail.com
Tue Dec 21 14:47:16 UTC 2021
Hi,
we maintained the AIX port until very recently, but in theory at least IBM
should now provide support.
That said, you cannot spawn threads. Failure to do so can have several
reasons:
- you run against the AIX specific limit for the number of threads or
processes on your system.
- On AIX, thread stacks live in the UNIX data segment. That can get crowded
out by the java heap even if there is enough space on the system, since the
data segment can only grow in place. Try the following AIX-specific switch:
-XX:MaxExpectedDataSegmentSize=16G (don't worry, this does not allocate
memory, just provides breathing space for the data segment). Alternatively,
run with -XX:-UseCompressedOops.
- You may run against the data limit (rlimit) for the data segment and
cannot allocate thread stacks. Consult the man page for ulimit.
HTH,
Thomas
On Tue, Dec 21, 2021 at 12:38 PM Simonovsky, Pavel <Pavel_Simonovsky at bmc.com>
wrote:
> Yes - but from output of topas - it does not seems to be a case...
> There is plenty of free memory on system.
>
> -----Original Message-----
> From: jdk-dev <jdk-dev-retn at openjdk.java.net> On Behalf Of Andrew Haley
> Sent: יום ג 21 דצמבר 2021 13:30
> To: jdk-dev at openjdk.java.net
> Subject: [EXTERNAL] Re: Failure adopt JRE 11 at AIX
>
> On 12/21/21 11:18, Simonovsky, Pavel wrote:
> > All my attempts to play with " -Xms1024M -Xmx4000M" (" -Xms6000M
> -Xmx6000M" and so on) - did not resolve a problem.
>
> Your operating system seems to be telling the JDK that it has no more
> memory to give.
>
> --
> Andrew Haley (he/him)
> Java Platform Lead Engineer
> Red Hat UK Ltd. <
> https://urldefense.proofpoint.com/v2/url?u=https-3A__www.redhat.com&d=DwICaQ&c=UrUhmHsiTVT5qkaA4d_oSzcamb9hmamiCDMzBAEwC7E&r=VWWgMJQX6Zxt0MbpK1ggMbBSg_DLdXJMqIorMUFJdoI&m=UOQG84nJrj8frqCyuTkZ54ayHbV0fAY6Dg0wxoxbhOI&s=pvLEMtLoAfGfZzQ1GBmEV69RnjgvQ_JdZduHMHYlB2s&e=
> >
> https://urldefense.proofpoint.com/v2/url?u=https-3A__keybase.io_andrewhaley&d=DwICaQ&c=UrUhmHsiTVT5qkaA4d_oSzcamb9hmamiCDMzBAEwC7E&r=VWWgMJQX6Zxt0MbpK1ggMbBSg_DLdXJMqIorMUFJdoI&m=UOQG84nJrj8frqCyuTkZ54ayHbV0fAY6Dg0wxoxbhOI&s=qYtR_Yz-1yTKjCy9IZ26fSemZ4kq0CkqnnQ1F2p-et0&e=
> EAC8
> <https://urldefense.proofpoint.com/v2/url?u=https-3A__keybase.io_andrewhaley&d=DwICaQ&c=UrUhmHsiTVT5qkaA4d_oSzcamb9hmamiCDMzBAEwC7E&r=VWWgMJQX6Zxt0MbpK1ggMbBSg_DLdXJMqIorMUFJdoI&m=UOQG84nJrj8frqCyuTkZ54ayHbV0fAY6Dg0wxoxbhOI&s=qYtR_Yz-1yTKjCy9IZ26fSemZ4kq0CkqnnQ1F2p-et0&e=EAC8>
> 43EB D3EF DB98 CC77 2FAD A5CD 6035 332F A671
>
More information about the jdk-dev
mailing list