RFR: 8374507: GHA: Limit debug symbols generation to conserve disk space

Erik Joelsson erikj at openjdk.org
Mon Jan 5 18:40:04 UTC 2026


On Mon, 5 Jan 2026 08:54:44 GMT, Aleksey Shipilev <shade at openjdk.org> wrote:

> I have noticed that Linux x86_64 fastdebug build jobs started to fail in GHA with no free space left on device. Instrumenting GHA runs shows we have about 17G of free space on those runners. 
> 
> 
> Filesystem  Size  Used  Avail Use% Mounted on
> /dev/root    72G   56G   17G   78% /
> 
> 
> [GHA docs](https://docs.github.com/en/actions/reference/runners/github-hosted-runners#standard-github-hosted-runners-for-public-repositories) say there is 14G of guaranteed disk space on runners. This is a bit beyond what our fastdebug builds need. My local build says disabling debug symbols bundling reduces the space requirement from 16G -> 11G, without regressing tests.
> 
> Testing:
>  - [x] Ad-hoc JVM crash to verify that stack trace generation still works
>  - [ ] GHA

Marked as reviewed by erikj (Reviewer).

-------------

PR Review: https://git.openjdk.org/jdk/pull/29030#pullrequestreview-3628009362


More information about the build-dev mailing list