fix: OOM - replace CUSTOM_MEMORY_SIZE with _JAVA_OPTIONS for wms services
This commit is contained in:
parent
ba52e9ad2b
commit
f59d3b332f
@ -75,8 +75,8 @@ spec:
|
||||
fieldRef:
|
||||
apiVersion: v1
|
||||
fieldPath: metadata.name
|
||||
- name: CUSTOM_MEMORY_SIZE
|
||||
value: 2xlarge
|
||||
- name: _JAVA_OPTIONS
|
||||
value: "-Xms512m -Xmx2g -Xss512k -XX:MaxDirectMemorySize=256m -Dfile.encoding=UTF-8"
|
||||
image: 10.10.11.40:5000/dev/imes-custom-mom-wms4322:20260506111511
|
||||
imagePullPolicy: IfNotPresent
|
||||
name: mom-wms4322
|
||||
|
||||
@ -36,6 +36,8 @@ spec:
|
||||
- start
|
||||
- web
|
||||
env:
|
||||
- name: _JAVA_OPTIONS
|
||||
value: "-Xms512m -Xmx3g -Xss512k -XX:MaxDirectMemorySize=256m -Dfile.encoding=UTF-8"
|
||||
- name: GR05A18C8848_HOST
|
||||
value: mom-register
|
||||
- name: GR05A18C8848_PORT
|
||||
@ -83,7 +85,7 @@ spec:
|
||||
protocol: TCP
|
||||
resources:
|
||||
limits:
|
||||
memory: 2Gi
|
||||
memory: 4Gi
|
||||
requests:
|
||||
memory: 256Mi
|
||||
terminationMessagePath: /dev/termination-log
|
||||
|
||||
Loading…
Reference in New Issue
Block a user