PaperMC/paper-server
Aikar e058d38078 Set cap on JDK per-thread native byte buffer cache
See: https://www.evanjones.ca/java-bytebuffer-leak.html

This is potentially a source of lots of native memory usage.

We are clearly seeing native usage upwards to 1-4GB which doesn't make sense.

Region File usage fixed in previous patch should of tecnically only been somewhat
temporary until GC finally gets it some time later, but between all the various
plugins doing IO on various threads, this hidden detail of the JDK could be
keeping long lived large direct buffers in cache.

Set system properly at server startup if not set already to help protect from this.
2020-05-04 01:08:56 -04:00
..
patches/sources Add phantom creative and insomniac controls 2020-04-25 15:13:41 -05:00
src Set cap on JDK per-thread native byte buffer cache 2020-05-04 01:08:56 -04:00
.gitignore Setup Gradle project 2020-12-10 20:54:19 -08:00
build.gradle.kts Expose server build information 2016-03-01 14:32:43 -06:00
LGPL.txt
LICENCE.txt