Impossible to connect to UVMS: "java.io.EOFException" on Univiewer Console and "OutOfMemoryError" on UVMS

Document ID : KB000086962
Last Modified Date : 14/04/2018
Show Technical Document Details
Issue:
Error Message :
On the univiewer console login menu, a popup error appears after introducing the credentials with the following content:
##################################
java.io.EOFException
##################################

On the UVMS side, on the uvserver.log, the following kind of error appears:
##################################
java.lang.OutOfMemoryError: GC overhead limit exceeded
##################################

Patch level detected:Univiewer Management Server 6.1.00
Product Version: Dollar.Universe 6.1.0

Description :Suddenly, users cannot connect to one specific UVMS using the Univiewer Console.
If we check the java uvms process, we see that it is using all the maximum allowed amount of memory.
On the uvms log, some memory errors appear like: java.lang.OutOfMemoryError: GC overhead limit exceeded
Environment:
OS: All
Related configuration item(s): UVMS / UVC on any version 6
Cause:
Cause type:
Configuration
Root Cause: The issue is due to the fact that the Java process of UVMS has no more free memory due to the insufficient value of the xmx parameter.
Resolution:
In order to restore the service, stop / start the UVMS.
In order to avoid encountering this issue again, increase the memory settings of the UVMS to a higher value, like 1024MB / 2048MB or superior, depending on the number of nodes / users / services enabled on the UVMS.

You can do so via the uvms node settings -> advanced settings:
Maximum Allocated Heap Memory (Mbytes) -> 2048 ( or the desired value)

That should create a line on the values.xml like this:
2048

A restart of the UVMS is necessary to take this modification into account.

Fix Status: Released

Fix Version(s):
Component: Univiewer.Management.Server
Version: Dollar.Universe 6.7.01
Additional Information:
Workaround :
N/A