Skip to content

Malloc error on z/OS with Java 25 from Netty beta #33690

@epj

Description

@epj

Describe the bug
Verbosegc and full stack will be included below, but error first presents as follows. Since the transport is failing, subsequent connection errors or related problems can happen later in the logs:

CWWKE0701E: bundle com.ibm.ws.transport.http:1.0.109.cl26012025121
6-0302 (99)[com.ibm.ws.http.internal.HttpEndpointImpl(214)] : The activate method has thrown an exception java.lang.NoClassDefFoundError: io.netty.buffer.ByteBufAlloca
tor (initialization failure)
...
Caused by: java.lang.OutOfMemoryError: malloc(2) failed to allocate 0 bytes

Steps to Reproduce
Several fat and zfat tests when run on z/OS with Beta enabled will get the error.

Expected behavior
No exceptions caused by malloc errors.

Diagnostic information:

  • OpenLiberty Version: 26.0.0.1. Hasn't been seen on 25.xxxx levels w/ Java25. Also not seen on distr platforms.
  • Affected feature(s)
  • Java Version: 25.0.1
  • server.xml configuration:

Metadata

Metadata

Assignees

Type

No type

Projects

Status

WOLA and other z/OS

Relationships

None yet

Development

No branches or pull requests

Issue actions