Tag: memory
🤖 AI Guestbook — #memory educational data only
|
|
Last 30 days
Agents 21
Amazonbot 4Google 1
Amazonbot 3Perplexity 2Ahrefs 1ChatGPT 1Google 1Claude 1
Amazonbot 174Perplexity 129Google 57Unknown AI 44Ahrefs 43ChatGPT 30SEMrush 20Claude 17Majestic 8Meta AI 7
Most referenced — #memory
Memory Leaks — Closures, Detached DOM 3WeakRef & FinalizationRegistry 2Object Pooling 2Garbage Collection 2__slots__ & Memory Optimisation 1Out of Memory Errors (memory_limit) 1Memory Management — Stack vs Heap 1PHP Garbage Collection Internals (Cycle Collector) 1
How they use it
crawler 494
crawler_json 23
pre-tracking 12
Tag total529 pings
Terms pinged24 / 24
Distinct agents9
Memory Pressure Detection PHP 7.0+
Proactively identifying when a PHP process approaches its memory limit so corrective action can be taken before a fatal error.
3d ago
performance intermediate
Memory Management in JavaScript
JavaScript uses automatic garbage collection — the engine reclaims memory when objects are no longer reachable. Memory leaks occur when references are unintentionally retained, preventing collection.
4w ago
javascript intermediate
Memory-Mapped Files
A file mapped directly into a process's virtual address space — reads and writes go through the OS page cache rather than read()/write() syscalls, enabling fast access to large files and shared memory between processes.
1mo ago
linux advanced
PHP Generators PHP 5.5+
Functions using yield that produce values lazily — one at a time — instead of building a complete array in memory.
1mo ago
php intermediate
Copy-on-Write (CoW) in PHP Arrays PHP 7.0+
PHP arrays are not copied when assigned or passed to functions — they share the same internal buffer until one copy is modified. Only then does PHP perform a real copy. This makes reading large arrays cheap but silent mutations expensive.
2mo ago
php intermediate
Generators & yield (PHP 5.5) PHP 5.5+
Generators (PHP 5.5) use yield to produce values lazily — enabling memory-efficient iteration over large datasets without loading everything into memory.
2mo ago
php intermediate
Memory Exhaustion PHP 4.0+
PHP's Allowed Memory Size Exhausted fatal error — caused by loading too much data into memory at once, unbounded loops accumulating objects, or memory leaks in long-running processes.
2mo ago
php intermediate
PHP Garbage Collection Internals (Cycle Collector) PHP 5.3+
PHP uses reference counting as its primary memory management strategy — when a value's reference count drops to zero it is freed immediately. A secondary cycle collector handles circular references that reference counting alone cannot free.
2mo ago
php advanced
PHP Memory Model — Zval & Copy-on-Write PHP 7.0+
PHP stores every value in a zval (Zend value) container that holds the type, value, and a reference count. Arrays and strings are copied lazily — the copy only happens when one copy is modified (copy-on-write), making passing large values cheap until mutation.
2mo ago
php advanced
Circular References & Memory Implications PHP 5.3+
Circular references between objects prevent PHP's reference counting GC from freeing memory — PHP's cycle collector handles them but with overhead.
2mo ago
php intermediate
Memory Leaks — Closures, Detached DOM ES2015
JavaScript memory leaks occur when references are accidentally retained — common causes: closures holding large objects, detached DOM nodes, forgotten event listeners, and growing Maps/Sets.
2mo ago
javascript advanced
Out of Memory Errors (memory_limit) PHP 5.0+
PHP enforces memory_limit in php.ini — exceeding it triggers a fatal E_ERROR that cannot be caught with set_error_handler().
2mo ago
php intermediate
__slots__ & Memory Optimisation Python 3.0+
Declaring __slots__ on a class prevents the dynamic __dict__ per instance — reducing memory usage by 40-60% for classes with many instances.
2mo ago
python intermediate
Memory Management — Stack vs Heap PHP 5.0+
The stack holds function call frames with fixed-size local variables — fast, automatic, limited. The heap holds dynamically allocated objects — flexible, managed by GC, slower.
2mo ago
compiler intermediate
WeakRef & FinalizationRegistry ES2021
WeakRef holds a weak reference allowing GC to collect the object — used for memory-safe caches. FinalizationRegistry runs a callback when an object is collected.
2mo ago
javascript advanced
Flyweight Pattern
A structural pattern that shares common state between many objects rather than storing it in each instance — dramatically reducing memory for large numbers of similar objects.
2mo ago
quality advanced
Automatic memory management that reclaims objects no longer reachable by the program — PHP uses reference counting with a cycle collector for circular references.
2mo ago
compiler advanced
Generators allow iterating over large datasets lazily using yield, without loading everything into memory at once.
2mo ago
php intermediate
Memory Leak PHP 5.0+
Memory allocated during execution that is never released, causing PHP processes to grow until they exhaust available memory or are restarted.
2mo ago
performance intermediate
Object Pooling PHP 7.0+
Reusing a fixed set of pre-initialised expensive objects rather than creating and destroying them on every request — reducing allocation overhead.
2mo ago
performance advanced