-
-
Notifications
You must be signed in to change notification settings - Fork 15.6k
1.98 memory usage regression #161660
Copy link
Copy link
Open
Labels
C-bugCategory: This is a bug.Category: This is a bug.I-compilememIssue: Problems and improvements with respect to memory usage during compilation.Issue: Problems and improvements with respect to memory usage during compilation.P-highHigh priorityHigh priorityT-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.T-typesRelevant to the types team, which will review and decide on the PR/issue.Relevant to the types team, which will review and decide on the PR/issue.regression-untriagedUntriaged performance or correctness regression.Untriaged performance or correctness regression.
Description
Activity
Metadata
Metadata
Assignees
Labels
C-bugCategory: This is a bug.Category: This is a bug.I-compilememIssue: Problems and improvements with respect to memory usage during compilation.Issue: Problems and improvements with respect to memory usage during compilation.P-highHigh priorityHigh priorityT-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.T-typesRelevant to the types team, which will review and decide on the PR/issue.Relevant to the types team, which will review and decide on the PR/issue.regression-untriagedUntriaged performance or correctness regression.Untriaged performance or correctness regression.
Overall memory requirement for compiling our
espresso-nodecrate roughly doubles from 10GB to 20GB from 1.97.1 to 1.98. The issue was discovered because our CI runners have 16GB RAM and fail to build on 1.98Example: https://github.com/EspressoSystems/espresso-network/actions/runs/32478615863/job/96760043575
Exit code: 143
LLM assisted bisection yielded #156417 as the cause. I can provide more of the LLMs outputs if useful.
Code
I tried this code:
I expected to see this happen: compiles with roughly the same memory requirement as 1.97.1
Instead, this happened: Uses significantly more memory on 1.98
Version it worked on
Version with regression
Backtrace
no crash