hq-git opened a new issue, #94:
URL: https://github.com/apache/rocketmq-docker/issues/94

   **BUG REPORT**
   
   1. Please describe the issue you observed:
   
   - I want to run rocketmq container and set a limit for the max heap size.
   
   - I want to through adding a docker container environment variable e.g. 
`MAX_HEAP_SIZE` to set the  limit for the max heap size.
   
   - The script 
https://github.com/apache/rocketmq-docker/blob/master/image-build/scripts/runbroker-customize.sh
 using `calculate_heap_sizes` function to calculate heap size, which often 
makes the MAX_HEAP_SIZE too large and causing OOM.
   
   2. Please tell us about your environment:
   
   - Run multiple rocketmq containers on one host.
   
   4. Other information (e.g. detailed explanation, logs, related issues, 
suggestions how to fix, etc):
   
   **FEATURE REQUEST**
   
   1. The runbroker-customize.sh function `calculate_heap_sizes` will not 
overrides the values of `MAX_HEAP_SIZE` and `HEAP_NEWSIZE` variables, when they 
already have values.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@rocketmq.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to