confluentinc / confluentinc/ksql
Use -XX:CMSInitiatingOccupancyFraction
- Dominant language
- Java
- Stars
- 315
- Forks
- 1k
- Avg merge
- 1d 7h
- Merged PRs (30d)
- 36
Description
Right now, we don't set the `-XX:CMSInitiatingOccupancyFraction` option. For very long running KSQL processes, it has been observed that the heap utilization gets very close to the limit before CMS is kicked off.
It would be good add the following options to the start command for ksql:
`-XX:CMSInitiatingOccupancyFraction=60 -XX:+UseCMSInitiatingOccupancyOnly`
This will ensure more predictable heap usage.
Contributor guide
Research direction
Start with the ksql start command and identify where its JVM options are assembled. Add the two options named in the issue, then verify that the resulting command includes them and that the setting applies to long-running KSQL processes.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- stream-processing
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100