Issue #2701335 by kekkis, hchonov, Ben Buske: Run garbage collection during migration memory reclamation
parent
e2c898ccd1
commit
5f9fe90988
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue