Zulip Chat Archive

Stream: general

Topic: Error on memory consumption


Morgen (Jul 05 2021 at 11:45):

I am new to lean and leanring tutorials-master on VSCode. The program is stuck with error message "excessive memory consumption detected at 'type checker' (potential solution: increase memory consumption threshold)".

Johan Commelin (Jul 05 2021 at 11:55):

Welcome! How did you obtain the tutorials? Using leanproject?

Johan Commelin (Jul 05 2021 at 11:56):

Point is: the tutorials depend on mathlib: and if you didn't download a compiled version of mathlib, then your computer might be going crazy trying to compile mathlib while you are opening the tutorials files

Huỳnh Trần Khanh (Jul 05 2021 at 12:13):

Run leanproject get-mathlib-cache

Morgen (Jul 05 2021 at 12:23):

I obtain the tutorials by downing zip file for github. It works by Run leanproject get-mathlib-cache. Thanks a lot.

Johan Commelin (Jul 05 2021 at 12:26):

Aha, the recommended way is: https://leanprover-community.github.io/install/project.html#working-on-an-existing-project

Cayden Codel (Jul 05 2021 at 19:39):

I also ran into this issue today. Apparently it is addressed here: https://leanprover.zulipchat.com/#narrow/stream/113489-new-members/topic/memory.20usage.20with.20vscode.2C.20lean.20and.20mathlib/near/238678879


Last updated: Dec 20 2023 at 11:08 UTC