Fork me on GitHub
#graalvm
<
2022-01-22
>
ericdallo13:01:47

FYI: I found this hack that increases windows github action runners PageFileSize making graalvm builds way faster 😛 https://github.com/clojure-lsp/clojure-lsp/blob/master/.github/workflows/release.yml#L300-L304

skynet19:01:11

this is awesome! was having trouble with builds taking a long time or failing

ericdallo19:01:34

yes, this saved my life as well :)

borkdude13:01:01

Cool! Does that also work for appveyor?

ericdallo13:01:12

Inside that action there is a ps1 script that gh action just call with your args, so I think it would work calling that manually :)

borkdude13:01:50

can you explain why it makes things go faster?

ericdallo13:01:40

Pagefile (virtual memory) is like the swap for unix systems. Windows GH action runners has 7GB of RAM and 14 GB of ssd, with this action we tell to Windows use part of the ssd has virtual memory

ericdallo13:01:59

there is this hack for linux as well in another gh action (not sure about macos)

borkdude13:01:39

and why isn't this the default on github action windows runners? :)

ericdallo13:01:31

good question, I think this is kinda a hack, the memory from the ssd would be way slower than RAM, but it's a memory anyway

borkdude13:01:52

true, I would expect it to behave this way by default

ericdallo13:01:22

Yeah, glad someone found this