Links tagged “memory”
8 links, newest first.
github.com
run Gemma 4 26B in 2 GB of RAM on any M-series Mac.
matklad.github.io
Memory Safety's Hardest Problem - matklad on why aliasing and concurrency, not buffer overflows, are the part nobody has solved.
danielchasehooper.com
A fast, growable array with stable pointers in C.
pypi.python.org
Python module that monitors a process's memory usage and reports memory consumption line by line.
fabiokung.com
Why free and top report host memory inside a container, and what it would take for cgroup limits to be visible to the processes running there.
goldmann.pl
How Docker uses cgroups to bound a container: CPU shares, memory limits and disk I/O bandwidth.
chase-seibert.github.io
Walkthrough of tracking runaway memory use in long-running Python and Celery workers with objgraph, Heapy and gdb-heap, plus process-recycling workarounds.
push.cx
How to implement the flyweight pattern in Python, using __new__ and a weak-reference pool so that identical objects are shared instead of duplicated.







