Garage uses significant amounts of memory #421

Closed
opened 2022-11-16 01:32:47 +00:00 by italypaleale · 1 comment

I'm running Garage to serve files in my LAN. I am using version 0.8.0 RC2. I am not using replication.

OS: Linux/amd64, running via the official Docker container.

On my system, Garage is using a very significant amount of memory, almost 700MB. Although I do have a lot of files (not sure the exact number, but it's over 100k), the memory usage seems a bit high.

Is that expected? If so, is there something that I can do to reduce memory usage?

I'm running Garage to serve files in my LAN. I am using version 0.8.0 RC2. I am not using replication. OS: Linux/amd64, running via the official Docker container. On my system, Garage is using a very significant amount of memory, almost 700MB. Although I do have a lot of files (not sure the exact number, but it's over 100k), the memory usage seems a bit high. Is that expected? If so, is there something that I can do to reduce memory usage?
Owner

It's kind of a known issue, we haven't taken a lot of time to see where it comes from yet. What we know is that the Sled database engine is sometimes responsible for eating up RAM. We recommend switching to LMDB if you can, it's much more lightewight (see the db_engine configuration parameter)

It's kind of a known issue, we haven't taken a lot of time to see where it comes from yet. What we know is that the Sled database engine is sometimes responsible for eating up RAM. We recommend switching to LMDB if you can, it's much more lightewight (see the `db_engine` configuration parameter)
lx added the
Improvement
Performance
labels 2022-11-16 10:42:49 +00:00
lx closed this issue 2023-09-05 15:07:43 +00:00
Sign in to join this conversation.
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: Deuxfleurs/garage#421
No description provided.