Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

entrypoint.sh JVM_ARGS doesn't work #26

Open
jimjim4000441 opened this issue Nov 4, 2019 · 1 comment
Open

entrypoint.sh JVM_ARGS doesn't work #26

jimjim4000441 opened this issue Nov 4, 2019 · 1 comment
Labels

Comments

@jimjim4000441
Copy link

The logic:
freeMem=awk '/MemFree/ { print int($2/1024) }' /proc/meminfo
...
export JVM_ARGS="-Xmn${n}m -Xms${s}m -Xmx${x}m"
jmeter $@

seems not set the correct Xms/Xmx. It is always 1g.
jmeter(not jmeter.sh) doesn't honor the JVM_ARGS . Is it?

@justb4
Copy link
Owner

justb4 commented Dec 13, 2021

JVM_ARGS is exported in the entrypoint.sh and should be included in the jmeter script whose last line is:

"$JAVA_HOME/bin/java" $ARGS $JVM_ARGS $JMETER_OPTS -jar "$PRGDIR/ApacheJMeter.jar" "$@"

Note that the memory settings are from within the running Docker Container. But one can never be sure...Any proof you can supply?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants