As jounin correctly suggested you need to edit opcache default value
opcache.memory_consumption = 256
Make sure when edititng select correct php version you're using, if it's 7.4 you should be editing file located here:
/etc/php/7.4/fpm/php.ini
but if you use a different version make appropriate changes.
And reload the php-fpm service after you've done editing, so new value takes effect.
sudo service php7.4-fpm reload