AMQ 7 CLI fails to connect due to "Native memory allocation (mmap) failed to map 34359738368 bytes for committing reserved memory."
Issue
artemis queue stat
cli 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.