You are here

protected function TestMigrateExecutable::attemptMemoryReclaim in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 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 86
Contains \Drupal\Tests\migrate\Unit\TestMigrateExecutable.

Class

TestMigrateExecutable
Tests MigrateExecutable.

Namespace

Drupal\Tests\migrate\Unit

Code

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