Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

feat: enhancelowMemoryLimit to support larger than 64k memory limitation#2910

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
HerrCai0907 wants to merge1 commit intoAssemblyScript:main
base:main
Choose a base branch
Loading
fromHerrCai0907:enhance-lowMemoryLimit-option

Conversation

HerrCai0907
Copy link
Member

This PR wantlowMemoryLimit to accept memory limitation which more than 64k but cannot be divisible by 64k.
It can help generated wasm module with fine-grained memory management.

@MaxGraey
Copy link
Member

MaxGraey commentedFeb 10, 2025
edited
Loading

LowMemoryLimit was originally introduced for embedded devices with very limited RAM for which even a single 64k bytes (single page) was not possible

@HerrCai0907
Copy link
MemberAuthor

This pr want to let this limitation available for some larger ram devices.
some rumtime like v8 will not allocate memory when memory grow. instead, they will allocate when memory is used.

for example, some embedden devices have 1MB ram, but still not enough to run multiple wasm together. it is good to use this option to limit ram usage less than e.g. 1.5 wasm pages.

@github-actionsGitHub Actions
Copy link

This PR has been automatically marked as stale because it has not had recent activity. It will be closed in one week if no further activity occurs. Thank you for your contributions!

@github-actionsGitHub Actions
Copy link

This PR has been automatically closed due to lack of recent activity, but feel free to reopen it as long as you merge in the main branch afterwards.

@HerrCai0907HerrCai0907force-pushed theenhance-lowMemoryLimit-option branch from1e7c006 to3988dd9CompareJuly 6, 2025 07:44
@github-actionsgithub-actionsbot removed the stale labelJul 6, 2025
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@dcodeIOdcodeIOAwaiting requested review from dcodeIO

@MaxGraeyMaxGraeyAwaiting requested review from MaxGraey

@CountBleckCountBleckAwaiting requested review from CountBleck

Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

2 participants
@HerrCai0907@MaxGraey

[8]ページ先頭

©2009-2025 Movatter.jp