Skip to content

Commit

Permalink
Adjust memory size of VM and Gatling
Browse files Browse the repository at this point in the history
Signed-off-by: Alexander Schwartz <[email protected]>
  • Loading branch information
ahus1 committed Feb 6, 2025
1 parent 41c8d5e commit d220f34
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion ansible/roles/aws_ec2/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ cidr_ip: "{{ control_host_ip.stdout }}/32"
# aws ec2 describe-images --owners self amazon --filters "Name=architecture,Values=arm64" "Name=virtualization-type,Values=hvm" --region eu-west-1
ami_name: RHEL-9.3.0_HVM-20231101-arm64-5-Hourly2-GP2

instance_type: t4g.micro
# t4g.small has 2 GB of RAM
instance_type: t4g.small
instance_volume_size: 20
instance_device: /dev/sda1

Expand Down
2 changes: 1 addition & 1 deletion benchmark/src/main/content/bin/kcb.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ DIRNAME=$(dirname "$RESOLVED_NAME")

# Default values
JAVA_OPTS="-server"
JAVA_OPTS="${JAVA_OPTS} -Xmx4G -XX:+HeapDumpOnOutOfMemoryError"
JAVA_OPTS="${JAVA_OPTS} -Xmx1G -XX:+HeapDumpOnOutOfMemoryError"

DEBUG_MODE="${DEBUG:-false}"
DEBUG_PORT="${DEBUG_PORT:-8787}"
Expand Down

0 comments on commit d220f34

Please sign in to comment.