fulltextsearch icon indicating copy to clipboard operation
fulltextsearch copied to clipboard

Allowed memory size of 134217728 bytes exhausted

Open ferdiga opened this issue 1 year ago • 1 comments

I got

PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 1052672 bytes) in /var/www/nextcloud/apps/files_fulltextsearch/lib/Service/FilesService.php on line 319

I have 8GB memory - virtual server

after running awhile real 11m15,892s user 6m32,832s sys 0m37,570s

Indexing ──── │ Action: generateIndexFiles │ Provider: Files Account: christoph │ Document: 5274 │ Info: /user/files/Shared/company/samba/talents/Talents Club/schicken │ Title: │ Content size: │ Chunk: 1251/1540 │ Progress: 0/35005

I am surprised to see "generateIndexFiles" - its on the NC server - not the elastic server - which is healthy

ferdiga avatar Sep 11 '24 19:09 ferdiga

solution here was to use .... php -d memory_limit=512M .... as setting memory_limit=512M in various config files was not picked up.

ferdiga avatar Sep 11 '24 20:09 ferdiga