Issue #2701335 by kekkis, hchonov, Ben Buske: Run garbage collection during migration memory reclamation

8.5.x
Nathaniel Catchpole 2017-10-02 20:53:52 +01:00
parent e2c898ccd1
commit 5f9fe90988
1 changed files with 3 additions and 0 deletions

View File

@ -534,6 +534,9 @@ class MigrateExecutable implements MigrateExecutableInterface {
// @TODO: explore resetting the container.
// Run garbage collector to further reduce memory.
gc_collect_cycles();
return memory_get_usage();
}