Hello Squid,
thank you for your answer, i really appreciate your help. As far as i am aware i didn't try to edit anything. The only files i opened with nano were configs for swag as i setup nextcloud so i am really confused how so much memory was in use.
Is there an way or log that i can check to find the files in use. I am kinda worried that i broke something while trying to get nextcloud to work.