It appears net.minecraft.client.gui.font.providers.TrueTypeGlyphProviderBuilder.create(ResourceManager) (Mojang name) leaks the buffer allocated by com.mojang.blaze3d.platform.TextureUtil.readResource(InputStream).