Hi users of Isabelle,
I am building Isabelle theories from the Sail RISC-V model here: https://github.com/riscv/sail-riscv.
It seems to cause memory leak when building this file: Rc64d.thy, which has more than 158k lines of code, 3232 definitions. The build on this file has been running for almost two days on an AMD EPYC 7542 32-Core Processor.
Current resource usage:
Machine-wide memory state at the same check:
A simple build on the first few definitions shows that loading this Rv64d_types.thy could take really long time that I can't predict.
Does anyone have experiences on the Sail RISC-V to Isabelle build? Or why Poly/ML is consuming so much memory?
Thanks,
Changyang
I think the authors of the project will likely have experience building the project and be able to answer your question - did you contact them?
Not yet, I will reach out to them, thanks!
Last updated: Apr 29 2026 at 06:25 UTC