Hello guys, how can i turn down the XMS and XMX from my java on guacamole,
i didn´t configure it, look that. XMS and XMX is configured to use 10Gb of
ram, the server has now 12Gb ram.

tomcat    4777  1.7 17.4 16715800 2141232 ?    Ssl  Jun09  21:10
/usr/lib/jvm/default-java/bin/java
-Djava.util.logging.config.file=/var/lib/tomcat9/conf/logging.properties
-Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
-Djava.awt.headless=true -XX:+UseG1GC -XX:MaxMetaspaceSize=1024m -Xms10240m
-Xmx10240m -XX:+UseG1GC -XX:+DisableExplicitGC -XX:ParallelGCThreads=2
-XX:ConcGCThreads=1 -Djdk.tls.ephemeralDHKeySize=2048
-Djava.protocol.handler.pkgs=org.apache.catalina.webresources
-Dorg.apache.catalina.security.SecurityListener.UMASK=0027
-Dignore.endorsed.dirs= -classpath
/usr/share/tomcat9/bin/bootstrap.jar:/usr/share/tomcat9/bin/tomcat-juli.jar
-Dcatalina.base=/var/lib/tomcat9 -Dcatalina.home=/usr/share/tomcat9
-Djava.io.tmpdir=/tmp org.apache.catalina.startup.Bootstrap start
root 17405 0.0 0.0 13136 1064 pts/0 S+ 12:21 0:00 grep --color=auto java

Em ter., 9 de jun. de 2020 às 20:15, Nick Couchman <[email protected]>
escreveu:

> On Tue, Jun 9, 2020 at 6:54 PM Guilherme Carvalho <[email protected]>
> wrote:
>
>> Yes you´re right, the Java that is consuming so much memory, not guacd,
>> i´m using the 1.1.0 version.
>>
>>
> Yes, and Stefan is correct - depending on what parameters you use for the
> Tomcat startup Java will go ahead and request the memory from the operating
> system to support the application(s).  You can adjust the Tomcat startup
> parameters to better control this; however, keep in mind that Java is
> considered a "virtual machine" of sorts - so, if you do not allocate
> sufficient memory to it, the Java container will run out of memory and
> you'll get errors within the Java application (Java OOM).
>
> -Nick
>

Reply via email to