hackage-server is currently Cabal-1.24 based; but we need to upgrade it to Cabal-2.0 real soon. This is expected to provide substantial heap memory savings.
The text was updated successfully, but these errors were encountered:
Using explicitly spelled out instance implementations results in a more
defensive style which gives the compiler a better chance to notify us
when types changes (and thus potentially the binary serialisation).
This results in a reduction of about 0.5 GiB worth of (:) heap-objects, which consequently means a reduction of about ~20 million (:) allocated on the heap the GC won't have to traverse anymore! Overall, in terms of actual process-size (i.e. RSS), migrating to Cabal-2.0 translates into saving about 2 GiB of RAM.
TODO: figure out what those (:)-allocation spikes are which are still present late into the startup.
hackage-server is currently Cabal-1.24 based; but we need to upgrade it to Cabal-2.0 real soon. This is expected to provide substantial heap memory savings.
The text was updated successfully, but these errors were encountered: