|
|
|
|
|
by mkhnews
981 days ago
|
|
Another question is about containers and memory limits.
Does the page-cache count against my container memory limit ?
And if so, then when I hit that limit from doing many reads, does the page-cache start taking from itself without OOM killer getting involved ? |
|
I build older android (the OS) versions inside docker containers because they have dependencies on older glibc versions.
This is a memory-heavy multi-threaded process and the OOM killer will kill build threads, making my build fail. However, there is plenty of available (but not free) memory in the docker host, but apparently not available in the container. If I drop caches on the host periodically, the build generally succeeds.