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

Can't increase ram? (192mb limit on browser) #36

Open
wearyexcellance opened this issue Jun 24, 2023 · 4 comments
Open

Can't increase ram? (192mb limit on browser) #36

wearyexcellance opened this issue Jun 24, 2023 · 4 comments

Comments

@wearyexcellance
Copy link

I get an error when I try to run Windows XP on the browser when I increase the ram.
Is there any way to make ram reach 1GB for example?
Thanks in advance, this is an amazing project

@nepx
Copy link
Owner

nepx commented Jun 27, 2023

The problem is that WebAssembly sets a hard minimum/maximum memory import size at compile time, which isn't what we want. I couldn't figure out how to configure Emscripten properly.

I've managed to get around it by patching the WebAssembly file at runtime. The rewrite I'm working on has support for it, but it's not ready for release yet. This is definitely an issue, especially since I'm adding x86-64 support -- a lot of the guests don't like small RAM sizes.

@Pierrestro
Copy link

i can go up to 228 mb

@Pierrestro
Copy link

try to modify this line
image

@Pierrestro
Copy link

Pierrestro commented Mar 26, 2024

try using qemu instead i can't help more

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

No branches or pull requests

3 participants