Copyright (c) 2016 Dario Passariello
Load the function at the begin of your site and use GarbageCollector() to call it.
This function make free memory from different stuff.
usage: Call using GarbageCollector() from begin of pages after all sessions or config
(outside is ok)
... your html + php + javascript ...
<?php include( 'garbageCollector.php' )?>