secondlife / secondlife/viewer
High RAM utilization upon opening extra inventory windows
A pull request for this has already been merged.
- #5867 by @akleshchev — merged
- Dominant language
- C++
- Stars
- 299
- Forks
- 146
- Avg merge
- 1d 9h
- Merged PRs (30d)
- 88
Description
The effect of this seems to be easiest to reproduce by having a larger inventory, mine is 155K+. For me it reproduces on two different computers, running either Firestorm or the SL Viewer.
-
Log in, open an inventory window (Ctrl + I)
-
Open Windows' Task Manager, monitor your RAM usage
-
Open a bunch of extra inventory windows, a few at a time (5, 10, 15, 20) (Ctrl + Shift + I)
-
See how RAM usage increase, and if you just let it be, the RAM usage continues to go up for some time...
I don't know how common it is to have a bunch of inventory windows open at once, but it would seem to me that there might be room for optimization here, with all the windows not having unique data but are views into the same data I think that it shouldn't be duplicating the data in RAM for each window like it seems to do???
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.