protected function TestMigrateExecutable::attemptMemoryReclaim in Drupal 8
Same name and namespace in other branches
- 9 core/modules/migrate/tests/src/Unit/TestMigrateExecutable.php \Drupal\Tests\migrate\Unit\TestMigrateExecutable::attemptMemoryReclaim()
- 10 core/modules/migrate/tests/src/Unit/TestMigrateExecutable.php \Drupal\Tests\migrate\Unit\TestMigrateExecutable::attemptMemoryReclaim()
Tries to reclaim memory.
Return value
int The memory usage after reclaim.
Overrides MigrateExecutable::attemptMemoryReclaim
File
- core/
modules/ migrate/ tests/ src/ Unit/ TestMigrateExecutable.php, line 81
Class
- TestMigrateExecutable
- Tests MigrateExecutable.
Namespace
Drupal\Tests\migrate\UnitCode
protected function attemptMemoryReclaim() {
return $this->clearedMemoryUsage;
}