Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FINAL] feat: WASM heap memory limit for canisters #278

Merged
merged 14 commits into from
Jun 12, 2024
Merged

Conversation

mraszyk
Copy link
Contributor

@mraszyk mraszyk commented Feb 26, 2024

This PR introduces a configurable WASM heap memory limit for canisters.

@mraszyk mraszyk requested a review from a team as a code owner February 26, 2024 09:23
spec/index.md Outdated Show resolved Hide resolved
spec/index.md Outdated Show resolved Hide resolved
@mraszyk mraszyk requested a review from ulan February 26, 2024 09:26
Copy link
Contributor

@ulan ulan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks a lot @mraszyk

spec/_attachments/ic.did Outdated Show resolved Hide resolved
spec/index.md Outdated Show resolved Hide resolved
spec/index.md Outdated Show resolved Hide resolved
ulan added a commit to dfinity/cdk-rs that referenced this pull request Apr 17, 2024
This adds `wasm_memory_limit` to `CanisterSettings` and
`DefiniteCanisterSettings`.

The corresponding spec change:

- dfinity/interface-spec#278
@ulan
Copy link
Contributor

ulan commented Apr 18, 2024

@mraszyk: could you please merge this PR? The replica supports the feature now. Rust CDK and agent changes are blocked by this spec PR being merged according to the SDK team.

@mraszyk mraszyk marked this pull request as ready for review April 19, 2024 08:42
@mraszyk mraszyk changed the title feat: WASM heap memory limit for canisters [FINAL] feat: WASM heap memory limit for canisters Apr 19, 2024
lwshang added a commit to dfinity/cdk-rs that referenced this pull request Apr 19, 2024
* feat: Add `wasm_memory_limit` to the management canister

This adds `wasm_memory_limit` to `CanisterSettings` and
`DefiniteCanisterSettings`.

The corresponding spec change:

- dfinity/interface-spec#278

* Add the PR number to the change log

* unify doc format

* better test coverage

---------

Co-authored-by: Linwei Shang <[email protected]>
spec/_attachments/ic.did Outdated Show resolved Hide resolved
spec/index.md Outdated Show resolved Hide resolved
spec/index.md Outdated Show resolved Hide resolved
spec/index.md Show resolved Hide resolved
@mraszyk
Copy link
Contributor Author

mraszyk commented May 7, 2024

@ulan There seem to be some mismatches between the spec and the implementation - could you please take a look at my above comments?

@mraszyk mraszyk merged commit 21d64ed into master Jun 12, 2024
4 checks passed
@dskloetd dskloetd mentioned this pull request Jun 17, 2024
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants