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)

  • Meldrik@lemmy.wtf
    link
    fedilink
    English
    arrow-up
    3
    arrow-down
    1
    ·
    1 year ago

    It’s all the images being cached from other servers. If you haven’t uploaded any images to your instance, you can just delete the content of the pictrs folder.

    • poVoq@slrpnk.net
      link
      fedilink
      English
      arrow-up
      2
      ·
      1 year ago

      This will also delete all the user and community avatars though, as sadly Lemmy does not distinguish these from other images.

      • Meldrik@lemmy.wtf
        link
        fedilink
        English
        arrow-up
        1
        ·
        1 year ago

        Then you would also have to delete those images. Unfortunately, there’s no easy way to delete the cache of images that pictrs stores :(