sway icon indicating copy to clipboard operation
sway copied to clipboard

Compiling large libraries uses far too much RAM.

Open otrho opened this issue 3 years ago • 0 comments

As noted in https://github.com/FuelLabs/sway/issues/2674#issuecomment-1233636209 when compiling large libraries with several deps in lib.sw we can use a metric tonne of RAM.

I have a feeling we're just leaking a whole lot of intermediate data structures which could be dropped between compiling each dep, but a proper investigation should be made.

otrho avatar Sep 01 '22 02:09 otrho