Skip to content

Bugfix/304 memory leak in multinode#305

Closed
kahoona77 wants to merge 4 commits intodevelopfrom
bugfix/304-memory-leak-in-multinode
Closed

Bugfix/304 memory leak in multinode#305
kahoona77 wants to merge 4 commits intodevelopfrom
bugfix/304-memory-leak-in-multinode

Conversation

@kahoona77
Copy link
Copy Markdown
Contributor

No description provided.

@kahoona77 kahoona77 linked an issue Nov 3, 2025 that may be closed by this pull request
Comment thread CHANGELOG.md Outdated
Comment thread dogu.json Outdated
},
{
"Name": "container_config/java_soft_max_heap",
"Description": "Sets the SoftMaxHeapSize for the CAS java process. This value must be a positive integer followed by one of these units [b,k,m,g] (byte, kibibyte, mebibyte, gibibyte). It must equal or less than the absolute value of 'java_max_ram_percentage'.",
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

see other comment. Also it should be added, that this will only be set, if a memory_limit is configured

kahoona77 and others added 2 commits November 4, 2025 08:01
Co-authored-by: meiserloh <132442180+meiserloh@users.noreply.github.com>
Comment thread dogu.json Outdated
},
{
"Name": "container_config/java_soft_max_heap",
"Description": "Sets the SoftMaxHeapSize for the CAS java process. This value must be a positive integer followed by one of these units [b,k,m,g] (byte, kibibyte, mebibyte, gibibyte). It must equal or less than the absolute value of 'java_max_ram_percentage'.",
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Also we should add an example on how to set this size. something like "2G"

JAVA_OPTS="$JAVA_OPTS -XX:MinRAMPercentage=${MEMORY_LIMIT_MIN_PERCENTAGE}"

if [ "$(doguctl config "container_config/java_soft_max_heap" -d "empty")" != "empty" ]; then
# → allows G1 to return unused regions to the OS
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

wait, what is this? even if this is correct, it is not our intend why we use this (because we don't have a benefit like this on k8s with a hard memory limit). So more like "tells the GC to stay under this limit if possible"?

@kahoona77
Copy link
Copy Markdown
Contributor Author

no longer needed

@kahoona77 kahoona77 closed this Apr 10, 2026
@kahoona77 kahoona77 deleted the bugfix/304-memory-leak-in-multinode branch April 10, 2026 08:07
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.

Memory-Leak in Multinode

2 participants