Skip to content

Initial Memory Size #54

@ernst1j

Description

@ernst1j

We have found an issue when loading large policies causing the Wasmtime to throw a "wasm trap: out of bounds memory access" error. We were able to pull in the source code into our project and change the minimum memory page size from 2 to 3 and that resolved our issue. We also tried updating the maximum memory size, but that did not seem to resolve the issue.

Unless we are doing something wrong, we would like to have an optional parameter on the CreatePolicyInstance to be able to specify the initial page size.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions