Skip to content

Commit

Permalink
Merge pull request #52 from ministryofjustice/NIT-1255-alfresco-optim…
Browse files Browse the repository at this point in the history
…ise-tika-memory-configuration

NIT-1255 use Xms/Xmx for JVM memory allocations
  • Loading branch information
andrewmooreio authored May 10, 2024
2 parents 9c840ea + 6e74fa5 commit 7f3d5d9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 2 additions & 2 deletions alfresco-content-services/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -447,8 +447,8 @@ tika:
memory: "2Gi"
environment:
JAVA_OPTS: >-
-XX:MinRAMPercentage=50
-XX:MaxRAMPercentage=80
-Xms1024M
-Xmx1638M
readinessProbe:
initialDelaySeconds: 60
periodSeconds: 60
Expand Down
4 changes: 4 additions & 0 deletions alfresco-content-services/values_stage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,10 @@ tika:
limits:
cpu: 2
memory: 4Gi
environment:
JAVA_OPTS: >-
-Xms1024M
-Xmx3276M
global:
whitelistSourceRanges:
- "3.10.104.193" # legacy delius-stage-az1-nat-gateway
Expand Down

0 comments on commit 7f3d5d9

Please sign in to comment.