Coder Social home page Coder Social logo

Comments (7)

kroese avatar kroese commented on July 17, 2024 1

Good point! But to check for Total Memory is not really an alternative, because QEMU needs to allocate the RAM and thats why I check how much is available. You can have lots of RAM in total, but almost nothing available.

If you plan to run this container continously 24/7, the obvious solution would be to lower the amount that you configured for ZFS/ARC, so that there is always enough room for the container. That should have no downsides at all, since ZFS would not have been able to use it anyway while the container is running.

If you only want to run the container periodically, then a feature to disable the memory check would make sense. I will add a flag for that in the next release (might take a while).

from windows.

kroese avatar kroese commented on July 17, 2024 1

If you re-pull the latest image and set:

environment:
  RAM_CHECK: "N"

it should skip the check now. Please let me know if it works!

from windows.

janek202 avatar janek202 commented on July 17, 2024 1

It seems to be working, thank you!

I got the error, re-pulled the image, started the container, and Windows booted just fine.

from windows.

nazdridoy avatar nazdridoy commented on July 17, 2024 1

2024-05-31_01-20

found it. thanks

from windows.

janek202 avatar janek202 commented on July 17, 2024

Thanks for a reply.

Good point! But to check for Total Memory is not really an alternative, because QEMU needs to allocate the RAM and thats why I check how much is available. You can have lots of RAM in total, but almost nothing available.

Yes, I worded it poorly. I meant, to introduce an environmental variable that would change which value from free is used, or disable the check entirely.
The current behavior makes sense in majority of systems, and I think it should stay unchanged, as a default. :)

I only run this container periodically, not 24/7, that's why I run into this issue.

from windows.

nazdridoy avatar nazdridoy commented on July 17, 2024
environment

where are the scripts that checks for RAM?

from windows.

kroese avatar kroese commented on July 17, 2024

https://github.com/qemus/qemu-docker/blob/master/src/config.sh

from windows.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.