Skip to content

imports FOO.bar made the cache.bin file increase in size #2177

@virgil-serbanuta

Description

@virgil-serbanuta

Motivation

  • kprove and kprovex crash with OOM errors on the Multisig proofs

Example K Code

Example:

I would like to be able to specify the Java memory size on the command line for kprove and kprovex, perhaps also for kompile:

  kprove --java-memory=8G proof.k

Documentation

--java-memory=$SIZE sets the -Xmx$SIZE argument for the Java virtual machine used by kompile/kprove/kprovex.

Potential Alternatives/Work-arounds

A better solution would be to reduce the k memory usage, but allowing the user to set the memory limits is probably easier.

Testing Approach

N/A

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions