Skip to content

Improve memory usage #1028

Open
Open
@neiljp

Description

@neiljp

For fairly "large" servers such as chat.zulip.org memory usage can be larger than one might expect, partially since we retain all the original data sent by the server and don't currently trim entries actively.

My current resident memory for two ZT sessions is at 160M & 398M; the latter has been running longer so may have accumulated more useful data, but both are quite large. The virtual memory used is much larger.

Due to ZT being isolated and easy to restart - useful during development too - this hasn't been a huge focus, but now seems like a promising time to investigate where our memory is going and particularly if there are some simple changes we can make initially.

My suspicions are that we may be regenerating UI elements more often than we need to, but measurements would help.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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