RFR: 8374507: GHA: Limit debug symbols generation to conserve disk space
Aleksey Shipilev
shade at openjdk.org
Tue Jan 6 07:43:32 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
> - [x] GHA
Thank you! I am integrating now to unbreak GHA.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/29030#issuecomment-3713526817
More information about the build-dev
mailing list