lemmy high storage usage

youpie@lemmy.emphisia.nl to Selfhosted@lemmy.world – 22 points –

My lemmy instance seems to be using a lot of storage, I am the only one using it and for like 10 minutes a day. it's currently using about 122 gb, after about 3 months of usage

 ~/l/volumes> sudo du -d 1 -h  .
47G	./pictrs
75G	./postgres
0	./lemmy-ui
122G	.

seeing the usage of other ppl this seems really big? Am i doing someting wrong? edit: it is also using a lot of memory, i dont know exactly how much but it seems to be most of my system's available ram (16 gb)

13

You are viewing a single comment

Could be what communities you are subscribed to. I run a small instance with about 3ish users, and here are my stats after about 3 months as well:

9.5G ./pictrs
12G	 ./postgres
8.0K ./lemmy-ui

What version of lemmy are you using? A recent update also introduced some space savings in the database (I think).

how do i check what version i am using?

If viewing in a web browser, scroll to the bottom of the page. It'll say something like "BE: 0.18.5".

Edit: If you are hosting it yourself in docker, don't use the :latest tag. As of right now that will install 0.19 which is still in alpha. Use dessalines/lemmy:0.18.5