Issue Description:

In case you have some custom scripts in place and that is making some web service calls then you may observe an issue where in the logs you may see Exception  java.lang.OutOfMemoryError: Compressed class space and the outcome of that can be Ephesoft UI performance getting impacted i.e. extreme slowness on the User Interface where it takes a very long time to perform any operation or even you are viewed with the blank WEB UI screen.


Root Cause:
The issue may be due to this custom script in place which is making web service calls due to which if you are observing  java.lang.OutOfMemoryError: Compressed class space exception in the logs. 
Same is a known issue in Java8


To resolve the issue please add a tomcat parameter -Dcom.sun.xml.bind.v2.bytecode.ClassTailor.noOptimize=true which handles this OutOfMemeoryError.

a. Go to Ephesoft -> JavaAppServer -> bin folder
b. Open EphesoftTransactService go to Java Tab and in JavaOptionSection add -Dcom.sun.xml.bind.v2.bytecode.ClassTailor.noOptimize=true (at the end)
c. Also if the issue occurs again we need to make sure that we have heap dump available with us to analyse the issue so add below as well in Java Options and make sure you are giving correct path where Heap Dump needs to be created
d.Restart the Ephesoft Service 



In case the above doesn’t work then kindly go ahead and open the ticket at and provide us with the INFO level logs and Heap Dump.

Was this article helpful to you?

Abhishek Jain