- Status changed from Needs feedback to Closed
- Resolution set to Cant reproduce
Well, if 40% RAM usage corresponds to 256 MB per app server process, that is rather little. If it corresponds to 2 GB, it might be much. The exact numbers matter here.
In any case, RAM usage heavily depends on the app server you use and its concurrency model. Generally, the more processes you run, the more RAM the whole system will use (but it will also increase the number of parallel requests which can be handled).
There are various possible ways to reduce RAM usage, including:
- Reduce the number of application processes.
- Try to remove the plugins as they might cause increased RAM usage
- Extracting functionality to separate processes such as using a separate queue. However, the queue worker processes will also use memory.
- Try updating your Ruby version to the latest version supported by your Redmine. Newer Ruby versions may reduce RAM usage.
- Depending on your usage pattern, it may be helpful to use a different memory allocator. Especially jemalloc often helps to reduce overall memory pressure of Rails applications. Setting this up however is rather advanced and depends heavily on your hosting environment.
- If you are running other processes other than the Redmine application (such as a memcached or redis, or your database server) on the same system, these might also require more RAM and might need to be further tuned.
- Your original Redmine 3.4.4 was released about 6 years ago. If you re-used the same server, it might just be time to just get a larger server. Note again my previous remarks about your "new" 5.0.5 version being still outdated.
In any case, the issues on redmine.org are used for development and to handle specific known bugs. For more open-ended questions such as these, please use the forums instead.