Logstash heap in docker

Hi
i’m trying to use this docker image in a docker:
opensearchproject/logstash-oss-with-opensearch-output-plugin:7.16.2

i have set this environments:

LS_JAVA_OPTSS="-Xmx13g -Xms13g"
PIPELINE_BATCH_SIZE=1000
PIPELINE_WORKERS=10
LS_HEAP_SIZE=13g
LOG_LEVEL=error

starting the docker container, i can see that the process is running with both -Xmx1g -Xms1g and later on the -Xmx13g -Xms13g … from what i know, the last one should apply, but in that image that is not happening, test show that it is just using 1G, so the first one is being applied

The environment are being loaded, logstash starting show this:

2022/01/26 22:06:15 Setting 'pipeline.batch.size' from environment.
2022/01/26 22:06:15 Setting 'pipeline.workers' from environment.
2022/01/26 22:06:15 Setting 'log.level' from environment.

So my question is how to properly set now the HEAP memory in logstash opensearch container?

Thanks in advance
higuita