Maybe this post is of any help: Nextcloud 23.02 OPcache interned strings buffer - #5 by MichaIng
TL;DR: The optimal value depends on your usage, how many and what apps you are using, whether you serve other PHP sites on the same server etc…
I have since set the value to 64, although this is probably overkill, and have never seen the warning again.