René's URL Explorer Experiment


Title: Memory leak in HttpResponseStreamHandler · Issue #624 · docker-java/docker-java · GitHub

Open Graph Title: Memory leak in HttpResponseStreamHandler · Issue #624 · docker-java/docker-java

X Title: Memory leak in HttpResponseStreamHandler · Issue #624 · docker-java/docker-java

Description: The problem is similar to #560 but happens with HttpResponseStreamHandler. It's inner class HttpResponseInputStream doesn't seem to manage ByteBuf current. ERROR - etty.util.ResourceLeakDetector - LEAK: ByteBuf.release() was not called b...

Open Graph Description: The problem is similar to #560 but happens with HttpResponseStreamHandler. It's inner class HttpResponseInputStream doesn't seem to manage ByteBuf current. ERROR - etty.util.ResourceLeakDetector - ...

X Description: The problem is similar to #560 but happens with HttpResponseStreamHandler. It's inner class HttpResponseInputStream doesn't seem to manage ByteBuf current. ERROR - etty.util.ResourceLeakDet...

Opengraph URL: https://github.com/docker-java/docker-java/issues/624

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Memory leak in HttpResponseStreamHandler","articleBody":"The problem is similar to #560 but happens with `HttpResponseStreamHandler`. It's inner class `HttpResponseInputStream` doesn't seem to manage `ByteBuf current`.\n\n```\nERROR - etty.util.ResourceLeakDetector - LEAK: ByteBuf.release() was not called before it's garbage-collected. See http://netty.io/wiki/reference-counted-objects.html for more information.\nWARNING: 1 leak records were discarded because the leak record count is limited to 4. Use system property io.netty.leakDetection.maxRecords to increase the limit.\nRecent access records: 4\n#4:\n    io.netty.buffer.AdvancedLeakAwareByteBuf.readByte(AdvancedLeakAwareByteBuf.java:399)\n    com.github.dockerjava.netty.handler.HttpResponseStreamHandler$HttpResponseInputStream.read(HttpResponseStreamHandler.java:84)\n    java.io.InputStream.read(InputStream.java:179)\n    java.io.InputStream.read(InputStream.java:101)\n    org.apache.commons.compress.utils.IOUtils.copy(IOUtils.java:67)\n    org.apache.commons.compress.utils.IOUtils.copy(IOUtils.java:48)\n    ...\n    java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)\n    java.util.concurrent.FutureTask.run(FutureTask.java:266)\n    java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)\n    java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)\n    java.lang.Thread.run(Thread.java:745)\n#3:\n    io.netty.buffer.AdvancedLeakAwareByteBuf.readByte(AdvancedLeakAwareByteBuf.java:399)\n    com.github.dockerjava.netty.handler.HttpResponseStreamHandler$HttpResponseInputStream.read(HttpResponseStreamHandler.java:84)\n    java.io.InputStream.read(InputStream.java:170)\n    java.io.InputStream.read(InputStream.java:101)\n    org.apache.commons.compress.utils.IOUtils.copy(IOUtils.java:67)\n    org.apache.commons.compress.utils.IOUtils.copy(IOUtils.java:48)\n    ...\n    java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)\n    java.util.concurrent.FutureTask.run(FutureTask.java:266)\n    java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)\n    java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)\n    java.lang.Thread.run(Thread.java:745)\n#2:\n    io.netty.buffer.AdvancedLeakAwareByteBuf.readByte(AdvancedLeakAwareByteBuf.java:399)\n    com.github.dockerjava.netty.handler.HttpResponseStreamHandler$HttpResponseInputStream.read(HttpResponseStreamHandler.java:84)\n    java.io.InputStream.read(InputStream.java:179)\n    java.io.InputStream.read(InputStream.java:101)\n    org.apache.commons.compress.utils.IOUtils.copy(IOUtils.java:67)\n    org.apache.commons.compress.utils.IOUtils.copy(IOUtils.java:48)\n    ...\n    java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)\n    java.util.concurrent.FutureTask.run(FutureTask.java:266)\n    java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)\n    java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)\n    java.lang.Thread.run(Thread.java:745)\n#1:\n    io.netty.buffer.AdvancedLeakAwareByteBuf.readByte(AdvancedLeakAwareByteBuf.java:399)\n    com.github.dockerjava.netty.handler.HttpResponseStreamHandler$HttpResponseInputStream.read(HttpResponseStreamHandler.java:84)\n    java.io.InputStream.read(InputStream.java:170)\n    java.io.InputStream.read(InputStream.java:101)\n    org.apache.commons.compress.utils.IOUtils.copy(IOUtils.java:67)\n    org.apache.commons.compress.utils.IOUtils.copy(IOUtils.java:48)\n    ...\n    java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)\n    java.util.concurrent.FutureTask.run(FutureTask.java:266)\n    java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)\n    java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)\n    java.lang.Thread.run(Thread.java:745)\nCreated at:\n    io.netty.buffer.PooledByteBufAllocator.newDirectBuffer(PooledByteBufAllocator.java:271)\n    io.netty.buffer.AbstractByteBufAllocator.directBuffer(AbstractByteBufAllocator.java:179)\n    io.netty.buffer.UnsafeByteBufUtil.copy(UnsafeByteBufUtil.java:464)\n    io.netty.buffer.PooledUnsafeDirectByteBuf.copy(PooledUnsafeDirectByteBuf.java:309)\n    io.netty.buffer.PooledSlicedByteBuf.copy(PooledSlicedByteBuf.java:96)\n    io.netty.buffer.AbstractByteBuf.copy(AbstractByteBuf.java:1161)\n    com.github.dockerjava.netty.handler.HttpResponseStreamHandler.channelRead0(HttpResponseStreamHandler.java:30)\n    com.github.dockerjava.netty.handler.HttpResponseStreamHandler.channelRead0(HttpResponseStreamHandler.java:20)\n    io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:105)\n    io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348)\n    io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:334)\n    io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:326)\n    com.github.dockerjava.netty.handler.HttpResponseHandler.channelRead0(HttpResponseHandler.java:72)\n    com.github.dockerjava.netty.handler.HttpResponseHandler.channelRead0(HttpResponseHandler.java:33)\n    io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:105)\n    io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348)\n    io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:334)\n    io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:326)\n    io.netty.handler.logging.LoggingHandler.channelRead(LoggingHandler.java:233)\n    io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348)\n    io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:334)\n    io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:326)\n    io.netty.channel.CombinedChannelDuplexHandler$DelegatingChannelHandlerContext.fireChannelRead(CombinedChannelDuplexHandler.java:428)\n    io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:293)\n    io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:267)\n    io.netty.channel.CombinedChannelDuplexHandler.channelRead(CombinedChannelDuplexHandler.java:243)\n    io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348)\n    io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:334)\n    io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:326)\n    io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1320)\n    io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348)\n    io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:334)\n    io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:905)\n    io.netty.channel.epoll.AbstractEpollStreamChannel$EpollStreamUnsafe.epollInReady(AbstractEpollStreamChannel.java:957)\n    io.netty.channel.epoll.EpollDomainSocketChannel$EpollDomainUnsafe.epollInReady(EpollDomainSocketChannel.java:140)\n    io.netty.channel.epoll.EpollEventLoop.processReady(EpollEventLoop.java:384)\n    io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:300)\n    io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:742)\n    io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.run(DefaultThreadFactory.java:145)\n    java.lang.Thread.run(Thread.java:745) \n```\n","author":{"url":"https://github.com/tejksat","@type":"Person","name":"tejksat"},"datePublished":"2016-07-05T15:03:52.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":2},"url":"https://github.com/624/docker-java/issues/624"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:9617e848-f8d6-ce96-9a95-102a12b0a140
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idC382:3EDCA0:32E3CD8:45A1DE7:6972C2C2
html-safe-noncebfabe8234107a394e2b13abeb80780a473b86b9ae0b296132dd5244edbdb03e7
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMzgyOjNFRENBMDozMkUzQ0Q4OjQ1QTFERTc6Njk3MkMyQzIiLCJ2aXNpdG9yX2lkIjoiMTg3MDQ3NjAzMTc1MTc5OTQ5MCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacac626d78a20866501f077d1060727d6f982e87b37d9e113066e13ceaebb8fab5
hovercard-subject-tagissue:163873045
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/docker-java/docker-java/624/issue_layout
twitter:imagehttps://opengraph.githubassets.com/2b5061a11d8f32d4f3049d9ff18c3b7b2bd625b3461415c49fcc4a1b5ceeea58/docker-java/docker-java/issues/624
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/2b5061a11d8f32d4f3049d9ff18c3b7b2bd625b3461415c49fcc4a1b5ceeea58/docker-java/docker-java/issues/624
og:image:altThe problem is similar to #560 but happens with HttpResponseStreamHandler. It's inner class HttpResponseInputStream doesn't seem to manage ByteBuf current. ERROR - etty.util.ResourceLeakDetector - ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernametejksat
hostnamegithub.com
expected-hostnamegithub.com
Noneaa656e37a6f46b81c2416d9c983f7c54e264ee31be17c0e6c9414b9f9f9c6eb4
turbo-cache-controlno-preview
go-importgithub.com/docker-java/docker-java git https://github.com/docker-java/docker-java.git
octolytics-dimension-user_id7772003
octolytics-dimension-user_logindocker-java
octolytics-dimension-repository_id20415251
octolytics-dimension-repository_nwodocker-java/docker-java
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id20415251
octolytics-dimension-repository_network_root_nwodocker-java/docker-java
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releaseadd6bd61de5b348d2978a698a5796a7d0438e7be
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/docker-java/docker-java/issues/624#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fdocker-java%2Fdocker-java%2Fissues%2F624
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fdocker-java%2Fdocker-java%2Fissues%2F624
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=docker-java%2Fdocker-java
Reloadhttps://github.com/docker-java/docker-java/issues/624
Reloadhttps://github.com/docker-java/docker-java/issues/624
Reloadhttps://github.com/docker-java/docker-java/issues/624
docker-java https://github.com/docker-java
docker-javahttps://github.com/docker-java/docker-java
Notifications https://github.com/login?return_to=%2Fdocker-java%2Fdocker-java
Fork 1.1k https://github.com/login?return_to=%2Fdocker-java%2Fdocker-java
Star 3.2k https://github.com/login?return_to=%2Fdocker-java%2Fdocker-java
Code https://github.com/docker-java/docker-java
Issues 37 https://github.com/docker-java/docker-java/issues
Pull requests 49 https://github.com/docker-java/docker-java/pulls
Discussions https://github.com/docker-java/docker-java/discussions
Actions https://github.com/docker-java/docker-java/actions
Projects 0 https://github.com/docker-java/docker-java/projects
Security 0 https://github.com/docker-java/docker-java/security
Insights https://github.com/docker-java/docker-java/pulse
Code https://github.com/docker-java/docker-java
Issues https://github.com/docker-java/docker-java/issues
Pull requests https://github.com/docker-java/docker-java/pulls
Discussions https://github.com/docker-java/docker-java/discussions
Actions https://github.com/docker-java/docker-java/actions
Projects https://github.com/docker-java/docker-java/projects
Security https://github.com/docker-java/docker-java/security
Insights https://github.com/docker-java/docker-java/pulse
New issuehttps://github.com/login?return_to=https://github.com/docker-java/docker-java/issues/624
New issuehttps://github.com/login?return_to=https://github.com/docker-java/docker-java/issues/624
Memory leak in HttpResponseStreamHandlerhttps://github.com/docker-java/docker-java/issues/624#top
type/bughttps://github.com/docker-java/docker-java/issues?q=state%3Aopen%20label%3A%22type%2Fbug%22
https://github.com/tejksat
https://github.com/tejksat
tejksathttps://github.com/tejksat
on Jul 5, 2016https://github.com/docker-java/docker-java/issues/624#issue-163873045
#560https://github.com/docker-java/docker-java/issues/560
type/bughttps://github.com/docker-java/docker-java/issues?q=state%3Aopen%20label%3A%22type%2Fbug%22
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.