Skip to content

Commit

Permalink
#109 Remove invalid java vm parameters
Browse files Browse the repository at this point in the history
The limitation of the minimum and maximum stack sizes should only be considered when the user configures memory limits for the dogu.
  • Loading branch information
Joshua Sprey committed Sep 9, 2022
1 parent 3584497 commit 22117b8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]
### Fixed
- Remove java heap stack parameters when no memory limits are defined #109

## [v3.40.1-2] - 2022-08-19
### Added
Expand Down
3 changes: 0 additions & 3 deletions resources/util.sh
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,6 @@ EOF
echo "Setting memory limits..."
echo "-XX:MaxRAMPercentage=${MEMORY_LIMIT_MAX_PERCENTAGE}" >>"${VM_OPTIONS_FILE}"
echo "-XX:MinRAMPercentage=${MEMORY_LIMIT_MIN_PERCENTAGE}" >>"${VM_OPTIONS_FILE}"
else
echo "-Xms1200M" >>"${VM_OPTIONS_FILE}"
echo "-Xmx1200M" >>"${VM_OPTIONS_FILE}"
fi

cat "${VM_OPTIONS_FILE}"
Expand Down

0 comments on commit 22117b8

Please sign in to comment.