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)

  • MeldrikA
    link
    fedilink
    English
    arrow-up
    4
    arrow-down
    1
    ·
    8 months 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
      ·
      8 months ago

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

      • MeldrikA
        link
        fedilink
        English
        arrow-up
        2
        ·
        8 months ago

        Wasn’t it a single user instance?

      • MeldrikA
        link
        fedilink
        English
        arrow-up
        1
        ·
        8 months 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 :(