It is not clear why one day the script began to throw an error
PHP Fatal error : Allowed memory size of 4731174912 bytes exhausted (tried to allocate 256 bytes)
Moreover, the size 4731174912 in all cases the same and in different files (error). We tried to increase the limit in my.cnf , but it did not give any results. On the server, 16 GB, but for some reason rests on 4731174912.
Where can I increase the memory limit, or maybe the reason is something else?

