Core Function GC
From Sputnik Wiki
(Difference between revisions)
UberFoX (Talk | contribs)
(Created page with "<pre> GC( <flag> ) </pre> === Description === Use the garbage collector. ==== flag ==== Optional; Higher than 0 will cause max strength garbage collection. === Return Value ...")
Newer edit →
(Created page with "<pre> GC( <flag> ) </pre> === Description === Use the garbage collector. ==== flag ==== Optional; Higher than 0 will cause max strength garbage collection. === Return Value ...")
Newer edit →
Revision as of 01:11, 18 November 2011
GC( <flag> )
Contents |
Description
Use the garbage collector.
flag
Optional; Higher than 0 will cause max strength garbage collection.
Return Value
None.
Remarks
If you really need to free ram right now gc() is a reasonable choice however it should be noted its not the best way to free ram as it can cause problems later on or slow downs.
Example
gc();