Skip to content
This repository was archived by the owner on Mar 24, 2022. It is now read-only.

lucet-runtime: heap size limit is hardcoded to 1 MB #76

Closed
jedisct1 opened this issue Mar 29, 2019 · 1 comment
Closed

lucet-runtime: heap size limit is hardcoded to 1 MB #76

jedisct1 opened this issue Mar 29, 2019 · 1 comment

Comments

@jedisct1
Copy link
Contributor

The max heap size defaults to 1 MB:

    fn default() -> Limits {
        Limits {
            heap_memory_size: 16 * 64 * 1024,
            heap_address_space_size: 0x200000000,
            stack_size: 128 * 1024,
            globals_size: 4096,
        }
    }

We don't seem to ever set it to what is stored in the wasm module, effectively limiting all applications to 1 MB.

@ghost
Copy link

ghost commented Mar 29, 2019

Closed by #77

@ghost ghost closed this as completed Mar 29, 2019
This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant