The Unified and Autonomous Development Platform
Configure OneDev to use less memory
Robin Shenc8e8feda7623
diff --git a/readme.md b/readme.mdindex 9e4fb356cc..3bf0481607 100644--- a/readme.md+++ b/readme.md@@ -1,7 +1,7 @@**NOTE:** We develop OneDev at <a href="https://code.onedev.io/projects/160">code.onedev.io</a> for sake of dogfooding. All issues and pull requests should be submitted there<div align="center">-<h1>Self-hosted Git Server with Built-in CI/CD</h1>+<h1>Self-hosted Git Server with Kanban and CI/CD</h1><div style="font-size: 18px;">| <a href="https://code.onedev.io/projects/162/blob/main/pages/quickstart.md">5-minute Quickstart</a>diff --git a/server-product/docker/entrypoint.sh b/server-product/docker/entrypoint.shindex a8a8e2c862..1d8034fcee 100755--- a/server-product/docker/entrypoint.sh+++ b/server-product/docker/entrypoint.sh@@ -12,13 +12,13 @@ trap _sigterm SIGTERMtrap _sigterm SIGINTcd /app/bin-java -cp "../boot/*" -XX:MaxRAMPercentage=60.0 io.onedev.commons.bootstrap.Bootstrap upgrade /opt/onedev &+java -cp "../boot/*" -XX:MaxRAMPercentage=50.0 io.onedev.commons.bootstrap.Bootstrap upgrade /opt/onedev &child=$!wait "$child"touch /opt/onedev/IN_DOCKERcd /opt/onedev/bin-java -cp "../boot/*" -XX:MaxRAMPercentage=60.0 io.onedev.commons.bootstrap.Bootstrap &+java -cp "../boot/*" -XX:MaxRAMPercentage=50.0 io.onedev.commons.bootstrap.Bootstrap &child=$!wait "$child"