Hi all:
If you can´t change the memory limit, go to /cms/code/AssetAdmin.php
And change getUsedFilesList from:
private function getUsedFilesList() {
$result = DB::query("SELECT DISTINCT FileID FROM SiteTree_ImageTracking");
$usedFiles = array();
$where = "";
if($result->numRecords() > 0) {
.....
to:
private function getUsedFilesList() {
$result = DB::query("SELECT DISTINCT FileID FROM SiteTree_ImageTracking");
$usedFiles = array();
$where = "";
return $where;
if($result->numRecords() > 0) {
.....
I don´t know if this is the best way, but works for me.