-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Add support for JVB_MAX_MEM var #608
base: master
Are you sure you want to change the base?
Conversation
shouldnt this set the
|
Yes this is also possible, but this variable is not yet retrieve over the env variable set in .env file. |
that is right, i forgot that i had just edited my docker-compose file as well |
ad87512
to
524caab
Compare
@@ -221,6 +221,9 @@ JVB_TCP_MAPPED_PORT=4443 | |||
# See https://github.com/jitsi/jitsi-videobridge/blob/master/doc/rest.md for more information | |||
#JVB_ENABLE_APIS=rest,colibri | |||
|
|||
# Memory allocated to the JVM | |||
# JVB_JVM_MAX_MEM=3072m |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This won't work unless you declare it on docker-compose.yml
Would be nice if this can be commited, I need to be able to set this variable |
cherry-pick will help |
Hi, diff --git a/jvb/rootfs/etc/cont-init.d/10-config b/jvb/rootfs/etc/cont-init.d/10-config if [[ ! -z $JVB_JVM_MAX_MEM ]]; then
chown -R jvb:jitsi /config |
@saghul : any improvement to perform ? or this PR is ok ? |
Hum, can't we set it in the run file, as a generic Java prop? |
I will ask a friend for that, unfortunately not a java dev |
Is this a PR that's still relevant? |
It no longer applies cleanly, so I'd say it needs a rebase at least. |
Fix to update over .env file the amount of memories of the videobridge java process.