free memory for each iteration DB_DataObject in fixup_utf8
This commit is contained in:
parent
da0d2a9745
commit
f134ba68ab
|
@ -163,6 +163,7 @@ class UTF8FixerUpper
|
||||||
|
|
||||||
$notice = Notice::staticGet('id', $id);
|
$notice = Notice::staticGet('id', $id);
|
||||||
$notice->decache();
|
$notice->decache();
|
||||||
|
$notice->free();
|
||||||
|
|
||||||
echo "OK\n";
|
echo "OK\n";
|
||||||
}
|
}
|
||||||
|
@ -226,6 +227,7 @@ class UTF8FixerUpper
|
||||||
|
|
||||||
$profile = Profile::staticGet('id', $id);
|
$profile = Profile::staticGet('id', $id);
|
||||||
$profile->decache();
|
$profile->decache();
|
||||||
|
$profile->free();
|
||||||
|
|
||||||
echo "OK\n";
|
echo "OK\n";
|
||||||
}
|
}
|
||||||
|
@ -289,6 +291,7 @@ class UTF8FixerUpper
|
||||||
|
|
||||||
$user_group = User_group::staticGet('id', $id);
|
$user_group = User_group::staticGet('id', $id);
|
||||||
$user_group->decache();
|
$user_group->decache();
|
||||||
|
$user_group->free();
|
||||||
|
|
||||||
echo "OK\n";
|
echo "OK\n";
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user