[Phpmyadmin-devel] Replication support & code style
Marc Delisle
marc at infomarc.info
Sun Oct 4 14:42:19 CEST 2009
Herman van Rink a écrit :
> Hi,
> 3) When syncing it fails me either with : Fatal error: Allowed memory
> size of x bytes exhausted
> or Backtrace from warning 'Invalid argument supplied for foreach()' at
> svn_root/trunk/phpMyAdmin/libraries/server_synchronize.lib.php 641:
>
> The memory problem occured when the database to sync was larger then the
> php's memory_limit. But increasing this to N*10 was still not enough :(.
Herman,
I changed the logic when you click "Synchronize databases" to avoid
loading data in memory, and to take $cfg['ExecTimeLimit'] into account.
I did not test this via the Replication panel but via the Synchronize panel.
--
Marc Delisle
http://infomarc.info
More information about the Developers
mailing list