vibeqc.check_memory¶
- vibeqc.check_memory(estimate, *, allow_exceed=False, available=None)[source]¶
Abort if
estimate.total_bytes > availableandallow_exceedis false.availablemay be passed in for reproducible tests; leaveNoneto probe the live machine.- Parameters:
estimate (MemoryEstimate)
allow_exceed (bool)
available (int | None)
- Return type:
None