OpenSearch/distribution
Jason Tedor c63b7f8b0b Stop disabling explicit GC
The problem here is simple: when using direct buffers as in NIO, the JDK
relies on explict GC invocataions to trigger cleaning up direct buffers;
if such GCs do not occur and the direct buffer limit is reached, the JVM
will throw an out of memory exception. With explicit GCs disabled, the
JVM is neutered from explicitly cleaning up direct buffers in the act of
reserving a new direct buffer and instead relies on a GC occurring for
another reason. If such a GC never occurs, the JVM will OOM. This commit
removes disabling of explicit GCs. Note that these explicit GCs only
occur as a last ditch effort before going OOM when the JVM is trying to
reserve more direct memory. This is a known issue, see for example:
JDK-8142537.

Relates #25759
2017-07-18 15:16:52 +09:00
..
bwc bwc checkout should fetch from all remotes 2017-07-07 13:39:24 +02:00
deb Use config directory to find jvm.options 2017-07-12 15:29:13 -04:00
integ-test-zip Adds nodes usage API to monitor usages of actions (#24169) 2017-06-02 08:46:38 +01:00
rpm Use config directory to find jvm.options 2017-07-12 15:29:13 -04:00
src/main Stop disabling explicit GC 2017-07-18 15:16:52 +09:00
tar Tests: Change rest test extension from .yaml to .yml (#24659) 2017-05-16 17:24:35 -07:00
tools Remove import from InstallPluginCommandTests 2017-06-01 08:56:25 -04:00
zip Tests: Change rest test extension from .yaml to .yml (#24659) 2017-05-16 17:24:35 -07:00
build.gradle Setup: Change default heap to 1G (#25695) 2017-07-14 09:38:08 -07:00