HTTP 500 status JAVA out of memory error - When Launching the VERDE Management Console

HTTP 500 status JAVA out of memory error - When Launching the VERDE Management Console

Product Line:  VERDE

ISSUE: 

  • The user receives an "HTTP 500 status JAVA out of memory error"
  • JAVA out of memory error in the VERDE Management Console log.

This situation may be caused because the Java Virtual Machine (JVM) is reaching its limit. The JVM heap size is set to 1024 (1GB) by default.

 

SOLUTION:

Increase the size of the JVM in the Tomcat initialization script as explained below. There is no need to increase this value dramatically. VERDE recommends to increase it to 2048 and observe the behavior before considering higher values.

Note:

This can be done while the VERDE server is running, this will not affect running guest sessions.

 

1. Stop Tomcat

/usr/lib/verde/bin/verde-start-tomcat.sh stop


2. Open /usr/lib/verde/bin/verde-start-tomcat.sh and modify the line below so it reads:

JAVA_OPTS="-Xms2048m -Xmx2048m -XX:MaxPermSize=512m"

    There are two lines with this setup. You can ignore the line starting with "trunk.*)" and modify the second line.

3. Start Tomcat:

/usr/lib/verde/bin/verde-start-tomcat.sh start

 

Verify that the VERDE Management Console starts with no error.


    • Related Articles

    • VERDE User Side Error Codes

      Product Line:  VERDE If we talk about the VERDE VDI client mode then we need to distinguish between two types of communication: User authentication and enumeration of VERDE VDI desktops. Terminal connections to VERDE VDI desktops.   The RX-series GUI ...
    • VERDE Tomcat Memory Issue. 15 or More Users trying to login to VERDE at the same time. The MC and System Lock up

      Product Line:  VERDE VERDE 8.2 with more than 10 users logging into VERDE at the same time, requires more Tomcat memory.  This is fixed in VERDE 8.2.1  Here are instructions to make the change. vi /usr/lib/verde/bin/verde-start-tomcat.sh Change: if [ ...
    • How to Change the Management Console Language

      Product Line:  VERDE From time to time, we get requests to change the Management Console's language.  For example, from German to English.  By default, the language is set by the user's browser language.  There is a workaround: The attached script ...
    • win4-sessions Status Codes

      Product Line:  VERDE VERDE features a CLI command that outputs all the sessions running in the server's environment. The command, win4-sessions, can found in the /usr/lib/verde/bin/ directory. The output containts PID, USER name, CONFIG name, Image ...
    • Management Console General Settings/General Settings

      Product Line:  VERDE There are 2 settings in the Management Console/Configuration/General Settings/General Settings users often aren't aware are there or what they are for. Enable Spanning Tree Protocol - this is advanced bridge feature. Spanning ...