You have been subscribed to a public bug:

spawning this bug based on 
https://bugs.launchpad.net/manhattan/+bug/1111719/comments/6

which says....

Nexus 10:

Starting the shell on build #87 shows 316MB of resident memory being used 
before any interaction.
I was unable to use valgrind to have an easier time analysing what is consuming 
memory so removed one piece of the UI at a time and came to the following 
breakdown:

1) ApplicationScreenshot x4 (92MB) used in Stage.qml
2) dash (90MB)
       home (33MB)
       music (30MB) (= 40x 0.6MB Image in AlbumTile)
       apps (8MB)
       videos (28MB)
       people (21MB)
3) panel (40MB)
4) greeter (32MB)
5) hud (12MB)
6) launcher (4MB)

1) ApplicationScreenshot uses the memory corresponding to its width x
height x bytes-per-pixel _all_ the time, not just when it contains a
screenshot. Setting width/height to 0 when application == null fixes the
issue and saves the entire 92MB when no apps are running or when no
transitions between apps are happening.

2) Each lens is entirely loaded and always loaded. It should be loaded
dynamically instead as Michael pointed out but that would take a clean
rewrite of ListViewWithHeader.qml. However the main culprit using 95% of
the memory is the Images being loaded, for example in the music lens
there are over 40 albums each using around 0.6MB of memory.

3) Not investigated yet but as Michael pointed out the indicators should
be loaded/unloaded dynamically.

4) The greeter is already unloaded when hidden so we should be good
here.

5) and 6) don't use too much memory.

** Affects: unity8 (Ubuntu)
     Importance: High
     Assignee: Nick Dedekind (nick-dedekind)
         Status: Fix Released

-- 
ensure inidicators are loading dynamically to avoid mem usage
https://bugs.launchpad.net/bugs/1154818
You received this bug notification because you are a member of Ubuntu Touch 
seeded packages, which is subscribed to unity8 in Ubuntu.

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to