Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
Y
yifu-mvp
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
fangxinjiang
yifu-mvp
Commits
a03dca98
Commit
a03dca98
authored
Jul 09, 2025
by
hongguangwu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MVP1.7.12-商险服务加内存溢出前的日志,将文件复制出来(master分支已有,1.7.12版本王鹏提交的)
parent
91670c6d
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletion
+5
-1
yifu-insurances-deployment.yaml
k8s-bash/yifu-insurances-deployment.yaml
+2
-0
Dockerfile
yifu-insurances/yifu-insurances-biz/Dockerfile
+3
-1
No files found.
k8s-bash/yifu-insurances-deployment.yaml
View file @
a03dca98
...
...
@@ -56,6 +56,8 @@ spec: # 资源规范字段
value
:
prd
-
name
:
TZ
value
:
Asia/Shanghai
-
name
:
JAVA_OPTS
value
:
"
-XX:+HeapDumpOnOutOfMemoryError
-XX:HeapDumpPath=/dumps/oom.hprof
-Xms128m
-Xmx256m
-Djava.security.egd=file:/dev/./urandom"
resources
:
#资源配置限制
limits
:
# 最大使用
memory
:
"
4096Mi"
...
...
yifu-insurances/yifu-insurances-biz/Dockerfile
View file @
a03dca98
...
...
@@ -10,6 +10,8 @@ COPY ${JAR_FILE} app.jar
EXPOSE
5005
ENV
TZ=Asia/Shanghai JAVA_OPTS="-Xms128m -Xmx256m -Djava.security.egd=file:/dev/./urandom"
RUN
mkdir
-p
/dumps
ENV
TZ=Asia/Shanghai JAVA_OPTS="$JAVA_OPTS -Xms128m -Xmx256m -Djava.security.egd=file:/dev/./urandom"
CMD
sleep 60; java -jar app.jar $JAVA_OPTS
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment