confluentinc / confluentinc/ksql

Use -XX:CMSInitiatingOccupancyFraction

Open
#902 1 comment 0 reactions 0 assignees View on GitHub
enhancement
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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.