Skip to content

Big RAM usage #4658

@zdebel

Description

@zdebel

Describe the bug

I use memos to store highlights of my day with my daughter. I post on a daily basis, each memo has a couple of photos and sometimes a short video or two. Recently when browsing the history, memos started eathing RAM like crazy. It got bad to the point where when I browsed it, my server (Ryzen 3550H + 16 GB RAM) was deadlocking due to fast RAM consumption. I've limited RAM in docker-compose, so now instead of the system crashing, just the app crashes. I'll be happy to provide whatever logs / info you need to debug this. 'docker compose logs' doesn't show anything interesting though.

Steps to reproduce

  1. Have a dozen of memos with images and videos.
  2. Scroll through the history.
  3. Observe high RAM usage.

The version of Memos you're using

v0.22.2 and v0.22.0 acted same way

Screenshots or additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions