-
Notifications
You must be signed in to change notification settings - Fork 510
Closed
Description
sstable.Properties
has a CompressionStats
field:
Line 199 in c21fd8d
CompressionStats string `prop:"pebble.compression_stats"` |
The loading code interns all string fields here:
Line 340 in c21fd8d
field.SetString(intern.Bytes(val)) |
This is problematic because this string will be different for each sstable. The program will accumulate the strings for all the sstables it has seen over its lifetime.
The string is short so in practice it would probably take a very long time for this memory leak to become a problem.
Jira issue: PEBBLE-1102