Affected: All SDKs
Overview
Payload sizes exceeding 25MB can introduce performance issues for your SDKs. Large SDK payloads impact initialization time, increase memory usage, and can lead to delayed feature flag updates across connected SDK instances.
Common causes of excessive SDK payload sizes include:
- Large numbers of individually targeted users
- Extensive targeting rules
- Long lists of values within targeting rules
- Overuse of segments
Solution
Use the SDK Payload Analyzer to fetch the latest feature flag and segment data from LaunchDarkly. This tool generates CSV reports with statistics about flags and segments.
To optimize SDK usage, consider the following actions:
- Archive or delete unused flags.
- If individual targets exceed 10,000, it is recommended to either target based on context attributes or implement big segments for better management.