Skip to content

Leak: Trimmed unfoldings are alive through code generation

Fixed in !8807 (closed)

Before:

Slither of IdInfo kept alive (and hence unfoldings etc)

2022-08-18-134355_1015x249

This band is just IdInfo, you can see it stretches over code generation.

2022-08-18-134406_807x697

Total memory usage during code generation ~400MB

2022-08-18-134414_1193x754

After:

Retained IdInfo, reduced to zero for this particular allocation site

2022-08-18-134420_1024x246

Can see it's not alive over allocation

2022-08-18-134433_1248x729

Approx memory usage during code generation ~300MB.

2022-08-18-134453_1231x721

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information