Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Reduce Java Heap for Mill Client (#4163)
The Mill Client only forwards requests and therefore does not need much memory. However, Java doesn't know that an allocates a large heap based on the machines memory size. Therefore, give a way lower heap limit, creating a leaner client memory wise. Example on my machine: - Before: A Mill client reserved ~500MByte - After: A Mill client reserves the specified 24Mbyte This is mostly relevant for a long running mill client (examples `--watch` clients, `-i --no-build-lock` and --bsp`). Co-authored-by: Li Haoyi <haoyi.sg@gmail.com>
- Loading branch information