# Garbage Collection

- Thread: https://externals.io/message/41092
- Original archive: https://news-web.php.net/php.internals/41092
- Started by Nathan Rixham on 2008-10-15T21:13:38+00:00
- Messages: 3
- Reply by email to internals@lists.php.net
- More for agents: search with https://externals.io/search.md?q={query} · JSON API at https://externals.io/api · documentation at https://externals.io/llms.txt

---

## #41092 — Nathan Rixham — 2008-10-15T21:13:38+00:00

URL: https://externals.io/message/41092#41092

Evening All,

Could anybody either point me to some existing documentation as to the 
specifics of Garbage Collection in PHP; specifically for multi-process 
(forked) CLI applications. Specifically when is a variable a candidate 
for garbage collection (the criteria); what timing can one expect to see 
memory freed/gc cleanup run; any way's to force or tip's n tricks in 
this area - basically anything to go off would be very much appreciated.

Many Regards!

---

## #41095 — Derick Rethans — 2008-10-15T21:24:50+00:00

URL: https://externals.io/message/41092#41095 · In reply to: #41092

> Evening All,
> 
> Could anybody either point me to some existing documentation as to the
> specifics of Garbage Collection in PHP; specifically for multi-process
> (forked) CLI applications. Specifically when is a variable a candidate for
> garbage collection (the criteria); what timing can one expect to see memory
> freed/gc cleanup run; any way's to force or tip's n tricks in this area -
> basically anything to go off would be very much appreciated.

It implements the following algorithm: 
http://www.research.ibm.com/people/d/dfb/papers/Bacon03Pure.pdf

With a root buffer size of 10000.

regards,
Derick

-- 
HEAD before 5_3!: http://tinyurl.com/6d2esb
http://derickrethans.nl | http://ezcomponents.org | http://xdebug.org

---

## #41100 — Nathan Rixham — 2008-10-15T21:53:22+00:00

URL: https://externals.io/message/41092#41100 · In reply to: #41095

Derick Rethans wrote:
> 
> 
> > […]
> 
> It implements the following algorithm: 
> http://www.research.ibm.com/people/d/dfb/papers/Bacon03Pure.pdf
> 
> With a root buffer size of 10000.
> 
> regards,
> Derick
> 

perfect thanks! :-)
