ConfigHubPub / ConfigHubPub/ConfigHubPlatform

Memory issues

Open
#68 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
80
Forks
25
PR merge metrics
No merged PRs in 30d

Description

Hey guys,

Having a hard time spinning up an image.. whatever memory I set it runs out of memory... I went up to 16gb and the process still just dies...

WARNING: Your kernel does not support swap limit capabilities. Limitation discarded.
f518838c3a06ef38dda7343b2694ac2321de1519c35d8cab8899c7266ba05b00
root@ip-172-31-12-25:/tmp#
root@ip-172-31-12-25:/tmp# docker logs confighub
Writing database credentials to /confighub/server/conf/tomee.xml
Writing server configuration to confighub/confighub.sh
2018-05-28 20:03:15,419 CRIT Server 'unix_http_server' running without any HTTP authentication checking
Reading confighub settings...
Reading server settings...
OpenJDK 64-Bit Server VM warning: ignoring option PermSize=512m; support was removed in 8.0
OpenJDK 64-Bit Server VM warning: INFO: os::commit_memory(0x00000005c0000000, 8589934592, 0) failed; error='Out of memory' (errno=12)
#
# There is insufficient memory for the Java Runtime Environment to continue.
# Native memory allocation (mmap) failed to map 8589934592 bytes for committing reserved memory.
# An error report file with more information is saved as:
# //hs_err_pid14.log
Reading confighub settings...
Reading server settings...
OpenJDK 64-Bit Server VM warning: ignoring option PermSize=512m; support was removed in 8.0
OpenJDK 64-Bit Server VM warning: INFO: os::commit_memory(0x00000005c0000000, 8589934592, 0) failed; error='Out of memory' (errno=12)
#
# There is insufficient memory for the Java Runtime Environment to continue.
# Native memory allocation (mmap) failed to map 8589934592 bytes for committing reserved memory.
# An error report file with more information is saved as:
# //hs_err_pid138.log
Reading confighub settings...
Reading server settings...
OpenJDK 64-Bit Server VM warning: ignoring option PermSize=512m; support was removed in 8.0
OpenJDK 64-Bit Server VM warning: INFO: os::commit_memory(0x00000005c0000000, 8589934592, 0) failed; error='Out of memory' (errno=12)
#
# There is insufficient memory for the Java Runtime Environment to continue.
# Native memory allocation (mmap) failed to map 8589934592 bytes for committing reserved memory.
# An error report file with more information is saved as:
# //hs_err_pid262.log
Reading confighub settings...
Reading server settings...
OpenJDK 64-Bit Server VM warning: ignoring option PermSize=512m; support was removed in 8.0
OpenJDK 64-Bit Server VM warning: INFO: os::commit_memory(0x00000005c0000000, 8589934592, 0) failed; error='Out of memory' (errno=12)
#
# There is insufficient memory for the Java Runtime Environment to continue.
# Native memory allocation (mmap) failed to map 8589934592 bytes for committing reserved memory.
# An error report file with more information is saved as:
# //hs_err_pid386.log

I haven't done anything yet and just out of the box we're having memory issues... any ideas?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the out-of-memory failure when launching the image and inspect the Docker logs alongside the generated hs_err_pid14.log or related JVM error reports. Check the container and JVM memory settings implicated by the startup output; done means the image starts successfully without repeated Java native-memory allocation failures.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, java
Domain
backend, infrastructure
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.