mirror of
https://github.com/Z3Prover/z3
synced 2025-09-07 02:11:08 +00:00
fix #7822
This commit is contained in:
parent
b8b9327a70
commit
2337e68169
1 changed files with 1 additions and 1 deletions
|
@ -333,7 +333,7 @@ namespace nlsat {
|
|||
|
||||
void checkpoint() {
|
||||
if (!m_rlimit.inc()) throw solver_exception(m_rlimit.get_cancel_msg());
|
||||
if (memory::get_allocation_size() > m_max_memory) throw solver_exception(Z3_MAX_MEMORY_MSG);
|
||||
if (memory::get_allocation_size()/(1 << 20) > m_max_memory) throw solver_exception(Z3_MAX_MEMORY_MSG);
|
||||
}
|
||||
|
||||
// -----------------------
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue