My apologies, you are correct sir [Note to self ord('l') != ord('g')].
root@ubu2004-pihole1:~# cat /etc/php/7.4/cgi/php.ini |grep memory_limit
memory_limit = 128M
root@ubu2004-pihole2:~# cat /etc/php/7.4/cgi/php.ini |grep memory_limit
memory_limit = 128M
I'll mod these to -1 and test to see if things continue working once the query log gets some length back.