cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Stupp (JIRA)" <>
Subject [jira] [Commented] (CASSANDRA-13754) FastThreadLocal leaks memory
Date Thu, 31 Aug 2017 11:34:01 GMT


Robert Stupp commented on CASSANDRA-13754:

Yea, that {{SEPWorker}} plus a couple more places (see [here|]
and [here|]).
It's actually difficult to tell whether there was really something broken in all these places
in the patch, but those changes don't (should not) harm. But if someone introduces a {{FastThreadLocal}}
there in the future, it should have no negative impact.
Our CI's currently checking the patches.
[~markusdlugi], do you have any chance to verify the patches?

> FastThreadLocal leaks memory
> ----------------------------
>                 Key: CASSANDRA-13754
>                 URL:
>             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|;a=commit;h=cecbe17e3eafc052acc13950494f7dddf026aa54]
fixes the issue.

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message