You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2021/01/28 12:43:27 UTC

[Bug 65111] New: Possible memory leak in AprEndpoint - socketBufferHandler is not cleared

https://bz.apache.org/bugzilla/show_bug.cgi?id=65111

            Bug ID: 65111
           Summary: Possible memory leak in AprEndpoint -
                    socketBufferHandler is not cleared
           Product: Tomcat 9
           Version: 9.0.x
          Hardware: PC
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Connectors
          Assignee: dev@tomcat.apache.org
          Reporter: roman.vidert@gmail.com
  Target Milestone: -----

In my application, the capacity of used memory by direct buffer pools is
increasing over time, after some research I found that in AprEndpoint in method
doClose "socketBufferHandler" is not executing "free()" method call, and the
link is just set to "EMPTY":
> socketBufferHandler = SocketBufferHandler.EMPTY;

Because of this allocated native memory is not released.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


[Bug 65111] Possible memory leak in AprEndpoint - socketBufferHandler is not cleared

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=65111

Remy Maucherat <re...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #1 from Remy Maucherat <re...@apache.org> ---
I think this looks like a problem. The fix will be 10.0.2, 9.0.43 and 8.5.63.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


[Bug 65111] Possible memory leak in AprEndpoint - socketBufferHandler is not cleared

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=65111

--- Comment #2 from Roman <ro...@gmail.com> ---
Thanks, this solved the issue for me.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


[Bug 65111] Possible memory leak in AprEndpoint - socketBufferHandler is not cleared

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=65111

Roman <ro...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 OS|                            |All
          Component|Connectors                  |Util

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org