Nextcloud extemely slow after installing Collabora CODE Server

I had to use the command below to even get it to install but now it takes forever to load any page within Nextcloud. Should I looks at the error log? If so where is the log file for nextcloud or collabora code server located?
sudo -u [USERNAME] php -d memory_limit=512M ./occ app:install richdocumentscode