Curiosity reduced the heap size by 60%
https://mostlyobvio.us/2026/07/curiosity-reduced-the-heap-size-by-60/
A stray Ruby warning spotted while running specs: “redefining ‘object_id’ may cause serious problems”, led down a rabbit hole into opentelemetry-instrumentation-aws_sdk and a pinned, ageing aws-sdk v2. The install hook was force-loading all AWS service classes at boot, just to check which ones were actually in use. One small monkey-patch later: 220 fewer services loaded, 60% fewer classes in the VM, heap nearly halved and boot time down 36%.
A nice case for staying curious and fixing what you notice along the way, even when it’s not on your main path.
Post a comment