Zulip Chat Archive

Stream: general

Topic: set maxheartbeats to what?


Jared green (Jan 09 2025 at 16:01):

what do other users set the option maxheartbeats to when the default is not enough? or rather, what number do you not dare set it above?

Ruben Van de Velde (Jan 09 2025 at 16:24):

You can use count_heartbeats in before the declaration

Jared green (Jan 09 2025 at 16:45):

suppose you arent sure your hardware can complete the computation at all

Junyan Xu (Jan 09 2025 at 17:10):

Hearbeats should be hardware independent.

Jared green (Jan 09 2025 at 17:12):

it matters if the computation could run out of memory

Mauricio Collares (Jan 09 2025 at 17:12):

In a way, but I get Jared's point: Memory allocation "costs" heartbeats, so if the number is too high Lean may consume more memory than you have available


Last updated: May 02 2025 at 03:31 UTC