Skip to content

Conversation

@changxue2022
Copy link
Contributor

@changxue2022 changxue2022 commented Apr 25, 2025

docker: support configuring JVM memory environment variables in docker compose file:IOTDB_JMX_OPTS for datanode,CONFIGNODE_JMX_OPTS for confignode

Description

configure JVM memory with environment variables in docker compose file

#docker-compose file
    environment:
      # for datanode
      - IOTDB_JMX_OPTS=-Xms4G -Xmx4G -XX:MaxDirectMemorySize=1G
      # for confignode
      - CONFIGNODE_JMX_OPTS=-Xms1G -Xmx1G -XX:MaxDirectMemorySize=256M

This PR has:

  • been self-reviewed.
    • concurrent read
    • concurrent write
    • concurrent read and write
  • added documentation for new or modified features or behaviors.
  • added Javadocs for most classes and all non-trivial methods.
  • added or updated version, license, or notice information
  • added comments explaining the "why" and the intent of the code wherever would not be obvious
    for an unfamiliar reader.
  • added unit tests or modified existing tests to cover new code paths, ensuring the threshold
    for code coverage.
  • added integration tests.
  • been tested in a test IoTDB cluster.

Key changed/added classes (or packages if there are too many classes) in this PR

…r-compose file:IOTDB_JMX_OPTS for datanode,CONFIGNODE_JMX_OPTS for confignode
@CritasWang CritasWang merged commit 665e18f into apache:master Apr 27, 2025
49 of 50 checks passed
JackieTien97 pushed a commit that referenced this pull request May 14, 2025
…r-compose file:IOTDB_JMX_OPTS for datanode,CONFIGNODE_JMX_OPTS for confignode (#15413)

(cherry picked from commit 665e18f)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants