-
-
Notifications
You must be signed in to change notification settings - Fork 15.5k
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.I-prioritizeIssue needs a team member to assess the impact. Will be replaced by P-{low,medium,high,critical}Issue needs a team member to assess the impact. Will be replaced by P-{low,medium,high,critical}needs-triageThis issue may need triage. Remove it if it has been sufficiently triaged.This issue may need triage. Remove it if it has been sufficiently triaged.regression-untriagedUntriaged performance or correctness regression.Untriaged performance or correctness regression.
Description
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.I-prioritizeIssue needs a team member to assess the impact. Will be replaced by P-{low,medium,high,critical}Issue needs a team member to assess the impact. Will be replaced by P-{low,medium,high,critical}needs-triageThis issue may need triage. Remove it if it has been sufficiently triaged.This issue may need triage. Remove it if it has been sufficiently triaged.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