Nextcloud doesn't use enough Memory

I’m running NC 12.0.4 in Proxmox. The LXC has 2GB of Ram, but Nextcloud only uses 340mb. I tried to increase the memory_limit within php.ini, but it doesn’t work. What can I do to improve performance?

Nextcloud version (eg, 10.0.2): 12.0.4
Operating system and version (eg, Ubuntu 16.04): Ubuntu 17.10 (LXC on Proxmox)
Apache or nginx version (eg, Apache 2.4.25): 2.4.25
PHP version (eg, 5.6): PHP 7.0.22

It’s a php.ini configuration

which one do I have to change? I tried the /etc/php/php7.0/cli/php.ini and /etc/php/php7.0/apache2/php.ini but nothing happend

Ideally both.

I did but nothing happened.

Did you restart apache after changing php.ini? That file is only read at apache startup, AFAIK.

yes, i did.

How do you tested it?

You’re increasing the limit, not the base usage. NC (or rather PHP) will use more as it needs it. Reboot the container and leave it for a bit - then measure the usage with top/htop in the container.