halfix icon indicating copy to clipboard operation
halfix copied to clipboard

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

Open wearyexcellance opened this issue 1 year ago • 4 comments

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

wearyexcellance avatar Jun 24 '23 13:06 wearyexcellance

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.

nepx avatar Jun 27 '23 01:06 nepx

i can go up to 228 mb

Pierrestro avatar Mar 26 '24 14:03 Pierrestro

try to modify this line image

Pierrestro avatar Mar 26 '24 14:03 Pierrestro

try using qemu instead i can't help more

Pierrestro avatar Mar 26 '24 14:03 Pierrestro