Feature #114
local engine should not use engine buffer lines
Status: | Closed | Start: | ||
Priority: | High | Due date: | ||
Assigned to: | Mirco Bauer | % Done: | 0% |
|
Category: | Engine | |||
Target version: | 0.6.3 | |||
Complexity: | ||||
Votes: | 0 |
Description
When a local engine is running there is no need to keep the message in the engine memory, as there is no way other frontends could connect it to. This will reduce memory usage after running smuxi for a while (on active channels).
History
Updated by Mirco Bauer 5817 days ago
- Status changed from New to Closed
- 1 set to fixed
Instead of completly disabled engine buffer lines, it's overriden to only use 10 lines, else we might loose messages. Implemented in SVN revision r437
Updated by Mirco Bauer 5812 days ago
- Status changed from Closed to Feedback
- 1 deleted (
fixed)
This seemed to cause a regression that sometimes happens when using a local engine. Messages sometime get lost at application startup.
Updated by Mirco Bauer 5808 days ago
- Status changed from Feedback to Closed
- 1 set to wontfix
Well I don't think this optimization is that useful compared to the issues it causes. The issue is that the session needs to be initialized in a different way, so the local frontend is getting all messages from the beginning of it, else it misses those messages because the engine message buffer is empty. 512 bytes per message * 100 messages * 10 channels is 0.5 MB, not really worth it.