Skip to content

nlsat reporting "max. memory exceeded" at 4GB mark #7822

@konnov

Description

@konnov

Hi, I am running z3 4.14.1 via the Java API (using https://github.com/tudo-aqua/z3-turnkey). It worked fine for contexts over 4GB until the moment I've added non-linear constraints. Now, when z3 reaches "max memory" to be approximately 4GB, I get:

error: max. memory exceeded

This happens on a local 64-bit Linux machine equipped 128GB of memory. There is definitely plenty of resident memory left. I tried to track it down, and it seems to me that this line does not convert the default value of 4294967295 to megabytes, as the other modules do:

m_max_memory = p.max_memory();

Can it be that the default max memory is limited to 4GB in nlsat?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions