You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 3, 2024. It is now read-only.
dmesg of a sigkill shows it is running out of memory. Since this is happening only when the circuit fails, I assume it is running out of memory while collecting the humongous amount of errors halo2 produces. [255025.374651] Out of memory: Killed process 360160 (zkevm_circuits-) total-vm:9780340kB, anon-rss:8324392kB, file-rss:708kB, shmem-rss:0kB, UID:1000 pgtables:16576kB oom_score_adj:0
Two possible approaches:
We could find a way to limit the amount of errors rustc outputs. This might hide useful errors for debugging but still better than no error messages. If there is a way to do this it seems like it will be a low effort
Investigate how halo2 manages error messages. It is likely that it accumulates all error messages in one buffer before printing them out. If that's the case we could modify it so that the errors are streamed out as they occur.
In the blockhash circuit there's a SIGKILL when there are too many errors generated by the MockProver.
Investigate the reason and solve/mitigate the problem.
The text was updated successfully, but these errors were encountered: