You are here

protected function TestMigrateExecutable::attemptMemoryReclaim in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/migrate/tests/src/Unit/TestMigrateExecutable.php \Drupal\Tests\migrate\Unit\TestMigrateExecutable::attemptMemoryReclaim()
  2. 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\Unit

Code

protected function attemptMemoryReclaim() {
  return $this->clearedMemoryUsage;
}