Description
The thrift cache key contains a map of attributes from the user object. Not only does the key not take these object into account when sizing the key object it also has both a copy of the attributes map and each string internally is a different instance. This causes the thrift cache to use a lot more heap than desired.