Managing NixOS Generations for Safe Upgrades and Disk Space
Learn how NixOS creates immutable generations, how to list, rollback, and clean them, and what disk‑space trade‑offs to watch.
ReadMeFeed / Community knowledge
Real questions. Useful conversations. Find the people who know your stack.
Learn how NixOS creates immutable generations, how to list, rollback, and clean them, and what disk‑space trade‑offs to watch.
When deploying Ruby applications (version 3.0+) to memory-constrained environments with low request volume, the goal is to minimize the Resident Set Size (RSS) to reduce infrastructure costs. While Ruby's Generational Garbage Collection (RGenGC) manages object lifecycles, the default heap expansion behavior can lead to a memory footprint that exceeds the act
Goal: Determine whether to rely on manual garbage collection or on the automatic Nix evaluation cache (with flake‑based input locking) to keep nixpkgs up to date while minimizing rebuild time and controlling disk usage. Constraints: Manual clearing guarantees that stale derivations are removed, ensuring fresh evaluations, but it forces a full rebuild of affe
In LÖ2D, maintaining a consistent frame rate on resource-constrained hardware requires managing how the underlying Lua garbage collector (GC) handles memory. While the framework is inherently lightweight, the non-deterministic nature of the GC can cause unpredictable micro-stutters if collection cycles trigger during intensive frames. To mitigate this, devel
The goal is to minimize GC‑induced pause‑time variability for latency‑sensitive Node.js workloads that allocate many short‑lived objects (e.g., Buffers in a tight loop). The constraint is choosing between V8’s incremental (Orinoco) marker, which spreads marking work to lower worst‑case pauses but adds write‑barrier overhead, and the parallel young‑generation
Integration Boundary A Harbor project configured with a replication rule targeting an external Docker-compatible registry copies images and OCI artifacts on schedule or on demand. The replication path is additive by design: new tags and manifests appear at the destination, but the behavior when a tag or manifest is removed from the source project is not guar
For a Nim service handling only a few requests per second, the goal is to reduce steady-state memory and tail latency by selecting the ARC garbage collector instead of the legacy mark-and-sweep default. ARC reclaims objects deterministically at the point of last reference, avoiding stop-the-world pauses and potentially lowering resident memory for infrequent
The Go runtime employs a G-M-P model to manage concurrency, where the scheduler distributes goroutines (G) across logical processors (P) and OS threads (M). During Garbage Collection (GC), the runtime must initiate a stop-the-world (STW) phase to ensure memory consistency across all active threads. In environments with a high number of OS threads (M) created
The goal is to determine whether Git's automatic garbage collector can safely run alongside concurrent fetch or push operations in a shared repository without introducing latency spikes or lock failures. Git describes gc.auto as a threshold-based trigger, but it does not guarantee serialization of repository writes. When multiple Git processes access the sam