Skip to content

Conversation

@sickcodes
Copy link
Owner

Fixes #188 (comment)

I'm not sure if this is a new bug but it's the first time I've seen it, after reading @C9-Dev's comment:

#131 (comment)

This PR changes default RAM to 2000 which is the minimum.

Perhaps in addition, I could add

-e RAM=auto \

This would only be for blind machines... as most users tend to know how much RAM they have, or their server has already.

RAM=${RAM:-$(("$(head -n1 /proc/meminfo | tr -dc '[:digit:]') / 900000"))}000 \ exec qemu-system-x86_64 -m ${RAM} \
 Alternative, calc at runtime? Perhaps ``` -e RAM=auto \ ``` ``` RAM=${RAM:-$(("$(head -n1 /proc/meminfo | tr -dc '[:digit:]') / 900000"))}000 \ exec qemu-system-x86_64 -m ${RAM} \ ```
@sickcodes sickcodes merged commit 1a10562 into master Mar 14, 2021
@sickcodes sickcodes deleted the low-ram-bug branch March 28, 2021 10:18
@bonnebulle
Copy link

Yes, an "auto" option for RAM would make it easier
I am stuck with a 8GO RAM, trying to add some more...
I can't figure how to change a variable on an existing container following this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants