←back to thread

151 points modinfo | 1 comments | | HN request time: 0.229s | source
Show context
k4rli ◴[] No.43682103[source]
Librechat has it as a dependency. Seems very memory heavy like elasticsearch. 3G+ memory at all times even on a new-ish instance with just one user.
replies(2): >>43682160 #>>43683250 #
mitchitized ◴[] No.43683250[source]
Fire it up in a docker container and limit the RAM usage that way.

This is a trick I learned years ago with other mmap-based systems.

replies(1): >>43685001 #
1. irevoire ◴[] No.43685001[source]
Are you sure it really limits the RAM? You’re still using the same kernel, and if a process is using more memory than another one I would expect the kernel to keep more of its memory page in RAM than the other.

What was your strategy to measure that?