GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Leak in PemReader on OutOfDirectMemoryError · Issue #16549 · netty/netty

Leak in PemReader on OutOfDirectMemoryError #16549

New issue
Copy link
New issue
Copy link
Closed
#16551
Closed
Leak in PemReader on OutOfDirectMemoryError#16549
#16551
Copy link

Description

@raipc
raipc
opened on Mar 25, 2026
Issue body actions
LEAK: ByteBuf.release() was not called before it's garbage-collected. See https://netty.io/wiki/reference-counted-objects.html for more information.
Recent access records: 
Created at:
	io.netty.buffer.UnpooledByteBufAllocator.newDirectBuffer(UnpooledByteBufAllocator.java:96)
	io.netty.buffer.AbstractByteBufAllocator.directBuffer(AbstractByteBufAllocator.java:188)
	io.netty.buffer.AbstractByteBufAllocator.directBuffer(AbstractByteBufAllocator.java:179)
	io.netty.buffer.AbstractByteBufAllocator.buffer(AbstractByteBufAllocator.java:116)
	io.netty.handler.codec.base64.Base64$Decoder.decode(Base64.java:328)
	io.netty.handler.codec.base64.Base64.decode(Base64.java:312)
	io.netty.handler.codec.base64.Base64.decode(Base64.java:303)
	io.netty.handler.codec.base64.Base64.decode(Base64.java:291)
	io.netty.handler.codec.base64.Base64.decode(Base64.java:285)
	io.netty.handler.ssl.PemReader.readCertificates(PemReader.java:105)
	io.netty.handler.ssl.SslContext.toX509Certificates(SslContext.java:1279)
	io.netty.handler.ssl.SslContextBuilder.trustManager(SslContextBuilder.java:277)
	tech.ydb.core.impl.pool.NettyChannelFactory.createSslContext(NettyChannelFactory.java:128)
	tech.ydb.core.impl.pool.NettyChannelFactory.newManagedChannel(NettyChannelFactory.java:72)
	tech.ydb.core.impl.pool.GrpcChannel.<init>(GrpcChannel.java:31)
	tech.ydb.core.impl.FixedCallOptionsTransport.<init>(FixedCallOptionsTransport.java:35)
	tech.ydb.core.impl.YdbTransportImpl$DiscoveryHandler.createDiscoveryTransport(YdbTransportImpl.java:204)
	tech.ydb.core.impl.YdbDiscovery.runDiscovery(YdbDiscovery.java:154)
	tech.ydb.core.impl.YdbDiscovery.tick(YdbDiscovery.java:140)
	java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:545)
	java.base/java.util.concurrent.FutureTask.run(FutureTask.java:328)
	java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:309)
	java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1095)
	java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:619)
	java.base/java.lang.Thread.run(Thread.java:1447)

Activity

  1. normanmaurer
    closed this as completedin 35ade4aon Mar 30, 2026
  2. ShadowySpirits
    added a commit that references this issue on Mar 30, 2026

    Avoid leak in PemReader on OutOfDirectMemoryError (netty#16551)

    This issue will close once commit 35ade4a is merged into the '4.2' branch.
    35ade4a
  3. netty-project-bot
    added 2 commits that reference this issue on Mar 30, 2026

    Avoid leak in PemReader on OutOfDirectMemoryError (#16551)

    This issue will close once commit 24d2dea is merged into the '4.2' branch.
    24d2dea

    Avoid leak in PemReader on OutOfDirectMemoryError (#16551)

    This issue will close once commit 5dd749f is merged into the '4.2' branch.
    5dd749f
  4. normanmaurer
    added 2 commits that reference this issue on Mar 30, 2026

    Auto-port 4.1: Avoid leak in PemReader on OutOfDirectMemoryError (#16576

    This issue will close once commit 8eef9c8 is merged into the '4.2' branch.
    8eef9c8

    Auto-port 5.0: Avoid leak in PemReader on OutOfDirectMemoryError (#16577

    This issue will close once commit bf8e056 is merged into the '4.2' branch.
    bf8e056
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402775 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.