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 ...
    • 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 ...
    • Gold Image Check-out and Check-in hang and are stuck in 'Pending' Status

      Product Line:  VERDE VERDE version: 6.6.x Host/Server: N/A Guest/Image: N/A Client/Workstation: N/A   In VERDE 6.6.x, the situation may arise where the Status of the Gold Image (when viewed in the Management Console) shows to be pending and never ...