How to Resolve Java Stack Size Error in BDRShield on Ubuntu 16.04

How to Resolve Java Stack Size Error in BDRShield on Ubuntu 16.04

KB ID: 115049
Cause:
Error occurs while starting BDRShield in Ubuntu 16.04 due to the Oracle Java browser plugin crashing during stack-related actions on initialization. For more details about the Java Stack error, refer to Link
Solution:
To overcome the error, a manual update of the JVM max stack size is required, changing it from the reserved size to 1.25 megabytes.
Command to update stack size to 1.25 megabytes:
export JAVA_TOOL_OPTIONS=-Xss1280k
Please note that this update of Java stack size is temporary. After a machine restart, the Java Stack size will be set back to the default value. Therefore, manual updating of the Java stack size is required every time after a reboot.
This scenario has been addressed in BDRShield/OffsiteDR v3.8.0. The Java stack size is set to 1.25 megabytes every time the BDRShield/OffsiteDR ‘.exe’ starts and resets to the reserved size when the exe is stopped.