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.