[
https://issues.apache.org/jira/browse/CASSANDRA-13754?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16149023#comment-16149023
]
Robert Stupp edited comment on CASSANDRA-13754 at 8/31/17 2:07 PM:
-------------------------------------------------------------------
[~markusdlugi] do you have a heap dump for me or references to what's actually
in these {{FastThreadLocal}} s or which FTLs actually cause this? I suspect
these are FTLs created in non-static fields, which probably need a different
handling.
Calling {{FastThreadLocal.removeAll()}} after every iteration in {{SEPWorker}}
is not a good solution, because that would effectively kill the benefit of all
static FTLs.
was (Author: snazy):
[~markusdlugi] do you have a heap dump for me or references to what's actually
in these {{FastThreadLocal}} s or which FTLs actually cause this? I suspect
these are FTLs created in non-static fields, which probably need a different
handling.
> FastThreadLocal leaks memory
> ----------------------------
>
> Key: CASSANDRA-13754
> URL: https://issues.apache.org/jira/browse/CASSANDRA-13754
> Project: Cassandra
> Issue Type: Bug
> Components: Core
> Environment: Cassandra 3.11.0, Netty 4.0.44.Final, OpenJDK 8u141-b15
> Reporter: Eric Evans
> Assignee: Robert Stupp
> Fix For: 3.11.1
>
>
> After a chronic bout of {{OutOfMemoryError}} in our development environment,
> a heap analysis is showing that more than 10G of our 12G heaps are consumed
> by the {{threadLocals}} members (instances of {{java.lang.ThreadLocalMap}})
> of various {{io.netty.util.concurrent.FastThreadLocalThread}} instances.
> Reverting
> [cecbe17|https://git-wip-us.apache.org/repos/asf?p=cassandra.git;a=commit;h=cecbe17e3eafc052acc13950494f7dddf026aa54]
> fixes the issue.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]