beryllw opened a new pull request, #66:
URL: https://github.com/apache/gravitino-playground/pull/66
Add Gravitino jvm mem options to prevent the Gravitino Server process from
being killed by the kernel's OOM killer.
gravitino.env.sh.template
```
# export GRAVITINO_MEM # Gravitino jvm mem options Default -Xms1024m
-Xmx1024m -XX:MaxMetaspaceSize=512m
```
docker-compose.yaml
```
gravitino:
image: datastrato/gravitino:0.5.1
deploy:
resources:
limits:
cpus: "0.5"
memory: 500m
```
```
[四 8月 22 10:12:09 2024] [1439660] 0 1439660 1702258 135715 1871872
3968 0 java
[四 8月 22 10:12:09 2024]
oom-kill:constraint=CONSTRAINT_MEMCG,nodemask=(null),cpuset=docker-xxxxxxx.scope,mems_allowed=0,oom_memcg=/system.slice/docker-xxxxxxx.scope,task_memcg=/system.slice/docker-xxxxxxx.scope,task=java,pid=1439660,uid=0
[四 8月 22 10:12:09 2024] Memory cgroup out of memory: Killed process 1439660
(java) total-vm:6809032kB, anon-rss:504204kB, file-rss:38656kB, shmem-rss:0kB,
UID:0 pgtables:1828kB oom_score_adj:0
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]