chore: remove deprecated horses, clubs, officials, and persons services
- Deleted obsolete modules related to horses, clubs, officials, and persons services, including their configurations, build files, and database provisioning scripts. - Cleaned up associated references in the project structure (e.g., `settings.gradle.kts`). - Removed unused database tables and Spring beans related to these domains. Signed-off-by: Stefan Mogeritsch <stefan.mo.co@gmail.com>
This commit is contained in:
@@ -0,0 +1,54 @@
|
||||
---
|
||||
type: Journal
|
||||
status: COMPLETED
|
||||
owner: DevOps Engineer
|
||||
last_update: 2026-03-28
|
||||
---
|
||||
|
||||
# Session Log: Metaspace-Optimierung & Build-Fix
|
||||
|
||||
🐧 **[DevOps Engineer]** | 28. März 2026
|
||||
|
||||
## Kontext
|
||||
|
||||
Der Build schlug in mehreren Modulen mit `java.lang.OutOfMemoryError: Metaspace` fehl.
|
||||
Betroffen waren insbesondere die Kotlin/JS und WASM Kompilationen:
|
||||
|
||||
- `:contracts:ping-api:compileKotlinWasmJs`
|
||||
- `:core:core-domain:compileTestKotlinJs`
|
||||
- `:core:core-utils:compileKotlinJs`
|
||||
|
||||
Die bisherigen Limits (1GB Metaspace) reichten für die komplexe Multiplatform-Struktur nicht mehr aus.
|
||||
|
||||
## Erledigte Aufgaben
|
||||
|
||||
### 1. ✅ Metaspace & Heap Erhöhung
|
||||
|
||||
- Metaspace-Limit für den Kotlin Daemon und den Gradle Daemon von **1GB auf 2GB** erhöht.
|
||||
- Heap-Speicher für den Kotlin Daemon von **4GB auf 6GB** erhöht.
|
||||
- Redundante/widersprüchliche JVM-Argumente in `gradle.properties` harmonisiert.
|
||||
|
||||
### 2. ✅ Build-Verifizierung
|
||||
|
||||
- Lokaler Build der betroffenen Tasks erfolgreich durchgeführt:
|
||||
`./gradlew :contracts:ping-api:compileKotlinWasmJs :core:core-domain:compileTestKotlinJs :core:core-utils:compileKotlinJs --no-daemon`
|
||||
- Status: **GRÜN**
|
||||
|
||||
## Technische Änderungen
|
||||
|
||||
### `gradle.properties`
|
||||
|
||||
- `kotlin.daemon.jvmargs`: `-Xmx6g -XX:MaxMetaspaceSize=2g`
|
||||
- `org.gradle.jvmargs`: `-Xmx6g -Dkotlin.daemon.jvm.options="-Xmx4g" -XX:MaxMetaspaceSize=2g`
|
||||
|
||||
## Nächste Schritte
|
||||
|
||||
- Überwachung der CI/CD Pipeline auf ähnliche Ressourcen-Engpässe.
|
||||
- Bei weiteren Problemen: Prüfung, ob `--parallel` in Kombination mit vielen JS-Targets zu hohen Lastspitzen führt.
|
||||
|
||||
---
|
||||
|
||||
## Referenzen
|
||||
|
||||
- `gradle.properties`
|
||||
- `MASTER_ROADMAP.md` (Phase 4: MVP-Implementierung)
|
||||
Reference in New Issue
Block a user