You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
OK
My website is on a VM.
The import is started every night via the cronjob sqliimport_run. I have an error like this in /var/log/sqliimport-error.log :
"Allowed memory size of 2621440000 bytes exhausted (tried to allocate 1966080 bytes) at /data/http/[my_site]/var/ezflow_site/cache/template/compiled/window_controls-edb5271eef31aab2afce293f8224ba47.php (line 1224)"
I increased the memory_limit parameter to 2500Mo in the php.ini.
Note that I use the SQLIContent API to develop my own imports.
I added eZContentObject::clearCache(array($content->attribute('id'))); at the end of my function process (just before the unset($content)).
Finally I tested the cache and I realized the imports succeed when PreviewCache is disabled in the site.ini...
It would be interesting to disable the cache during the import...
Error logged in /var/log/sqliimport-error.log during the import :
"Allowed memory size of 2621440000 bytes exhausted (tried to allocate 1966080 bytes) at /data/http/[my_site]/var/ezflow_site/cache/template/compiled/window_controls-edb5271eef31aab2afce293f8224ba47.php (line 1224)"
with the memory_limit=2500Mo in php.ini !
Solved by disabled the PreviewCache...
The text was updated successfully, but these errors were encountered: