-
Notifications
You must be signed in to change notification settings - Fork 61
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bug: There is insufficient memory for the Java Runtime Environment to continue. #26
Comments
Hello! Thank you for filing an issue. If this is a bug report, please include relevant logs to help us debug the problem. Join slack 🤖 to connect and communicate with our developers. |
root@iZuf66n8glfluybzq5n6r3Z:~/openim/openim-docker# df -h |
Issue AnalysisYour Kafka service, when deployed with Docker Compose, fails to start due to memory constraints. Here are the key points from the error:
Solutions
|
What happened?
description:kafka failed to start when deploying with docker compose
kafka | # There is insufficient memory for the Java Runtime Environment to continue.
kafka | # Native memory allocation (mmap) failed to map 1073741824 bytes for committing reserved memory.
kafka | # An error report file with more information is saved as:
kafka | # //hs_err_pid31767.log
kafka | OpenJDK 64-Bit Server VM warning: INFO: os::commit_memory(0x00000000c0000000, 1073741824, 0) failed; error='Not enough space' (errno=12)
kafka | Waiting for Kafka to be ready...
kafka | OpenJDK 64-Bit Server VM warning: INFO: os::commit_memory(0x00000000c0000000, 1073741824, 0) failed; error='Not enough space' (errno=12)
kafka | #
kafka | # There is insufficient memory for the Java Runtime Environment to continue.
What did you expect to happen?
error='Not enough space'
How can we reproduce it (as minimally and precisely as possible)?
system:Ubuntu 18.04.6 LTS
cpu:2vCPU x86_64
internal storage:2 GiB
disk:40G
Anything else we need to know?
No response
version
Cloud provider
OS version
Install tools
The text was updated successfully, but these errors were encountered: