Commit b8e6745
fix(devcontainer): configure jvm memory limits to prevent oom kills
- reduce MAVEN_OPTS from 2GB to 1GB to allow room for Spring Boot
- add SPRING_JVM_ARGS (1GB) for explicit Spring Boot JVM control
- lower JAVA_TOOL_OPTIONS MaxRAMPercentage from 50% to 25%
- update run.sh to pass memory settings to spring-boot:run
This prevents OOM kills when Maven compiler and Spring Boot JVM
run simultaneously during development.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>1 parent 0f29a19 commit b8e6745
2 files changed
Lines changed: 14 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
81 | 81 | | |
82 | 82 | | |
83 | 83 | | |
84 | | - | |
85 | | - | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
86 | 90 | | |
87 | 91 | | |
88 | 92 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
52 | 58 | | |
53 | 59 | | |
54 | | - | |
| 60 | + | |
55 | 61 | | |
56 | | - | |
| 62 | + | |
57 | 63 | | |
0 commit comments