If you have changed the JAVA_OPTS in the LS.sh or LS.bat script with custom settings, it may depend on them;
otherwise, it is strange that the default behavior of the GC in Java 8 could lead to that situation.

Please start collecting GC statistics from the JVM and if the issue reoccurs we may try to find some clue.
This is also done by changing the JAVA_OPTS; you can set -XX:+PrintGCDetails for instance.