This repository was archived by the owner on Jul 19, 2025. It is now read-only.
Commit 63dde4b
committed
Customize GC behavior differently
By default, the JVM does not free allocated heap back to the OS. This
configures away from that behavior, hopefully to prevent OOM engine
errors. It replaces the existing configuration which put absolute size
limits on the heap.
See http://www.stefankrause.net/wp/?p=14 for details on the specific
options chosen. This configuration brought my test repository's memory
usage down from ~700MB to ~250MB. Its graph also shows most closely the
pattern we'd prefer: the slope of allocated heap closely matching used.1 parent 5183658 commit 63dde4b
1 file changed
+1
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
29 | | - | |
| 28 | + | |
30 | 29 | | |
31 | 30 | | |
0 commit comments