AMQ 7 CLI fails to connect due to "Native memory allocation (mmap) failed to map 34359738368 bytes for committing reserved memory."

Solution Unverified - Updated -

Issue

  • artemis queue statcli command fails to connect to broker and crash report says
OpenJDK 64-Bit Server VM warning: INFO: os::commit_memory(0x00007fd7ec000000, 34359738368, 0) failed; error='Not enough space' (errno=12)
#
# There is insufficient memory for the Java Runtime Environment to continue.
# Native memory allocation (mmap) failed to map 34359738368 bytes for committing reserved memory.

Environment

  • Red Hat AMQ
    • 7.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content