[
https://issues.apache.org/jira/browse/AMQ-9471?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Richard Hierlmeier updated AMQ-9471:
------------------------------------
Affects Version/s: 6.0.1
> Cannot change max heapsize in apache/activemq-classic docker container
> ----------------------------------------------------------------------
>
> Key: AMQ-9471
> URL: https://issues.apache.org/jira/browse/AMQ-9471
> Project: ActiveMQ Classic
> Issue Type: Bug
> Components: Docker
> Affects Versions: 5.18.3, 6.0.1
> Reporter: Richard Hierlmeier
> Priority: Major
>
> I started the apache/activemq-classic with this docker-compose file:
> {code:yaml}
> version: "3.8"
> services:
> activemq:
> image: apache/activemq-classic:5.18.3
> container_name: activemq
> ...
> environment:
> ACTIVEMQ_OPTS_MEMORY: "-Xms64M -Xmx2G"
> {code}
> However the ACTIVEMQ_OPTS_MEMORY env variable is not considered. The max heap
> size is still at the default value 1G:
> {noformat}
> $ docker-compose logs -f activemq
> ...
> activemq | Java Runtime: Eclipse Adoptium 11.0.21 /opt/java/openjdk
> activemq | Heap sizes: current=65536k free=58725k max=1003520k
> ...
> {noformat}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)