Limiting Memory Usage?

Hi,

Is there a simple way to restrict the amount of memory that OpenVidu Pro will use?

Edit: I’m aware of the Kibana JVM restrictions available in the .env file. Also this is an “on-prem” style deployment.

It is possible to reduce the memory used by Elasticsearch which I think is the most resource consuming service. You just need to use the env variable:

ES_JAVA_OPTS

For example:

ES_JAVA_OPTS=-Xms1024m -Xmx2048m