Skip to content

chore: switch default profile to testing#44

Open
zmraul wants to merge 1 commit intomainfrom
chore/switch-profile-default
Open

chore: switch default profile to testing#44
zmraul wants to merge 1 commit intomainfrom
chore/switch-profile-default

Conversation

@zmraul
Copy link

@zmraul zmraul commented Jan 19, 2026

Current default is "production" which will use half of all available memory. This is not right specially in the context of LXD, since memory constraints need a specific config to be set.

@imanenami
Copy link

imanenami commented Jan 19, 2026

I suggest to update the rust version in charmcraft.yaml to fix the build issue, otherwise the release would fail :)

Copy link

@marcoppenheimer marcoppenheimer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually, I don't think we should do this.
Let's keep the default being production, and ensure that during tests + local deployments, we set the testing profile.

As an FYI, Cassandra uses this formula for allocating JVM heap size:

max(min(1/2 ram, 1024MB), min(1/4 ram, 8GB)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants