More mem usage logs

This commit is contained in:
drigato 2014-08-15 15:41:00 -04:00
parent 2bc8f6d403
commit f863f4dfcf
1 changed files with 3 additions and 0 deletions

View File

@ -319,6 +319,7 @@ class Application_Service_ShowService
$ccShows = array();
foreach ($ccShowDays as $day) {
Logging::info(memory_get_usage()/(1024*1024));
$this->ccShow = $day->getCcShow();
$this->isRecorded = $this->ccShow->isRecorded();
@ -333,6 +334,7 @@ class Application_Service_ShowService
$this->createNonRepeatingInstance($day, $populateUntil);
break;
case REPEAT_WEEKLY:
Logging::info(memory_get_usage()/(1024*1024));
$this->createWeeklyRepeatInstances($day, $populateUntil, REPEAT_WEEKLY,
new DateInterval("P7D"), $daysAdded);
break;
@ -356,6 +358,7 @@ class Application_Service_ShowService
break;
}
}
Logging::info(memory_get_usage()/(1024*1024));
foreach ($ccShows as $ccShow) {
if (($this->isUpdate || $fillInstances) && $ccShow->isLinked()) {