[ 
https://issues.apache.org/jira/browse/TS-4608?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15357795#comment-15357795
 ] 

ASF subversion and git services commented on TS-4608:
-----------------------------------------------------

Commit e707c3ec02d71ae079db9282c825d0449f62a88c in trafficserver's branch 
refs/heads/master from [~jaaju]
[ https://git-wip-us.apache.org/repos/asf?p=trafficserver.git;h=e707c3e ]

TS-4608: Fix memory leak in ProxyAllocator.cc. (#774)

This removes the pre-processor flag TS_USE_FREELIST which is not defined since 
commit e56d1f9eb6f55b0257d1fb758b773dea468159ee to make freelists a runtime 
option.

> Memory leak in ProxyAllocator.cc
> --------------------------------
>
>                 Key: TS-4608
>                 URL: https://issues.apache.org/jira/browse/TS-4608
>             Project: Traffic Server
>          Issue Type: Bug
>            Reporter: Jay Ramamurthi
>            Priority: Blocker
>             Fix For: 7.0.0
>
>
> The change to make freelists a runtime option 
> (https://github.com/apache/trafficserver/commit/e56d1f9eb6f55b0257d1fb758b773dea468159ee)
>  seems to have missed this file.
> With the preprocessor symbol TS_USE_FREELIST now gone (earlier used to be 1), 
> the overload of thread_alloc defined in this file always uses Proxy Allocator 
> (the second argument to the method) but free routines are from the freelist. 
> This overload of thread_alloc is used by HdrHeap, that is widely used in 
> transaction processing, causing leaks.
> Steps to reproduce:
> Traffic server with a single remap configuration, and ab workload should show 
> memory growth.
> Version seen in: Traffic Server built from branches master, 6.1.x, 6.2.x.
> Platform: Linux 64-bit (RHEL 6.6), g++ 4.4.7



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to