Comments (5)
@ijc25 I've had issues when memory appears to be full docker quits responding to various commands (like ps
or being able to download images). The only way to fix it is the restart the process so memory goes back down.
from hyperkit.
Sounds from your terse description like you are referring to something like the issues described in docker/for-mac#178 and docker/for-mac#781? That is the OSX process is actually using that memory (as guest RAM) and has not "leaked" in the normal sense.
The first comment on the former is basically an accurate summary of where we are right now with this. Only if you are seeing either actual memory leaks (that is, memory which the hypervisor has actually lost track of) or memory allocated to the hyperkit process which is unswappable (which would manifest as the RSS
remaining high even when the VM is idle and there are other memory pressures in the system) would we currently consider this an issue. If you are aware of either scenario occurring then we would be grateful of the details.
For those who are concerned about swappable memory allocated to virtual machines (i.e. the VSZ
of the process) the usual answer is ballooning, which in this context would start with an implementation of the virtio-balloon backend in hyperkit. However ballooning functionality in the hypervisor is only a building block and other higher level code would also be needed to manage this functionality in a way which did not compromise functionality/stability/reliability of projects which use hyperkit (or to put it more concretely and avoid giving false hope/commitment: adding ballooning functionality in hyperkit would not automatically mean it would be activated by Docker for mac, it would need careful evaluation and integration work by the docker for mac team first).
We currently don't have any plans to work on anything related to this but if, given the caveats expressed here, you are still interested then PRs to implement virtio-ballooning in hyperkit would be welcome.
from hyperkit.
@jhorwit2 Please open a new ticket against docker/for-mac about the issue you are seeing including a diagnostic bundle upload etc. Easiest way to do that is to use the "Diagnostics & Feedback" item in the Whale menu.
Closing this issue since there has been no further response from the OP.
from hyperkit.
Ive noticed this happening to me sometimes when i've accidentally tried to interact with a really large image. Restarting docker, and clearing out images doesn't seem to help. Doing a factory restart on docker does. I think it tries to access some of the same volume information between restarts.
from hyperkit.
@kyprifog please file an issue on docker/for-mac unless you are certain that this is an issue with hyperkit itself. If you think it is hyperkit itself, please provide more details.
from hyperkit.
Related Issues (20)
- Any way to get the display/VNC?
- Hyperkit support on macos silicon (M1) processors HOT 12
- qcow support build failure with ocaml 4.12
- unable to install hyperkit on apple silicon HOT 1
- Can Windows 10 be booted? HOT 4
- Potential error due to the unreleased lock after program exit HOT 2
- Support for MacOS Big Sur new Virtualization.framework HOT 2
- Hyperkit Build from Release Tarball Fails Assertions Related to Git Version
- RDTSCP instruction triggers "illegal instruction" for Linux container on macOS
- hyperkit installation require Xcode.app to be installed on Mac HOT 2
- error: implicit conversion loses precision when running make in Mac OS Big Sur 11.6 HOT 4
- Hyperkit's go api could not create console on stdio.
- LICENSE / COPYING missing HOT 2
- Error: hyperkit: no bottle available! HOT 3
- Build error message show 'set but not used [-Werror,-Wunused-but-set-variable]' in clang version 1316.0.21.2.5 HOT 4
- Invalid instructions?
- Accessing external address from vm
- FreeBSD 13 failed to boot after successful installation
- TCP Previous segment not captured
- use of undeclared identifier 'VERSION_SHA1'
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hyperkit.