please flush and clear periodically, see https://github.com/nlegoff/Phraseanet/blob/c2092a93ea6deb0c4c2944a6e799122c665b244a/lib/classes/patch/3902.php#l145