Announcement

#1 2017-04-16 09:56:16

rob777
Member
2017-02-11
9

quick local synchronization : Fatal error: Allowed memory size exhaust

Hello/Hi/Greetings,

I copied quite some files in the "galleries" folder (around. 115000 files, 8.5GB).
And when I start the quick local synchro I receive :

Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 20480 bytes) in /opt/piwigo/piwigo/admin/site_update.php on line 503

Which looks like to the default php (128MB)

In my php.ini (/etc/php/7.0/cli/php.ini) I had :

memory_limit = -1

And replaced with :
memory_limit = 512MB

But it doesn't change anything

It always blocks over 128MB.

I haven't found anything  in the piwigo conf files.

Any idea, please ?

Thanks a lot .

Piwigo: 2.8.6
PHP: 7.0

Offline

 

#2 2017-04-18 12:40:19

rob777
Member
2017-02-11
9

Re: quick local synchronization : Fatal error: Allowed memory size exhaust

Solved.
Add :

ini_set('memory_limit', '512M');

to local/config/config.inc.php in localFiles editor plugin.

Offline

 

Board footer

Powered by FluxBB

github twitter newsletter Donate Piwigo.org © 2002-2021 · Contact