Re: Dashboard Icons
- From: "kim wroblewski" <kimwroblewski gmail com>
- To: dashboard-hackers gnome org
- Subject: Re: Dashboard Icons
- Date: Fri, 10 Aug 2007 18:38:20 -0400
>A guess of the top of my head WRT images: they're probably not being
>disposed, so the image data is never being freed.
Yep, the original pixbuf was not being disposed of after it was scaled down.
As usual the source of the problem was me.
------------------
dashboard
all pixbufs set to null, text labels only
virtual memory MiB, Residient Memory Mib
clue1: 321.0, 50.2
clue2: 321.5, 51.3
clue3:
321.9, 51.9
clue4: 324.1, 52.4
clue5: 324.3, 53.0
clue6: 324.6, 53.6
clue7: 325.0, 54.2
clue8: 325.2, 55.2
------------------
dashboard
prescaled 50x50 pixbufs
virtual memory MiB, Residient Memory Mib
start: 205.7, 27.9
clue1: 320.8, 48.7
clue2: 321.0, 48.9
clue3: 321.1, 49.1
clue4: 322.0, 49.9
clue5: 322.0, 49.9
clue6: 323.5, 50.5
clue7: 323.5, 50.6
clue8: 323.5, 50.7
-------------
dashboard
full size / GC.Collect
resident memory
start: 28.0
clue1: 54.4
clue2: 51.2
clue3: 25.6
clue4: 300->17.1
clue5: 51.6
clue6: 19.4
clue7: 28.1
clue8: 28.4
-----------------
dashboard
fullsized pixbuf input
virtual memory MiB, Residient Memory Mib
start: 269.7, 27.9
clue1: 514.3, 223.4
clue3: 601.2, 245.9
clue4: 617.7, 303.1
clue5: 446.4, 108.3
clue6: 520.7, 214.1
clue7: 629.9
, 262.7
clue8: 590.5, 217.3
-----------------
dashboard
all pixbuf thumbnails fullsize
Heap-Shot at clue4
type Instances MemorySize Avg.Size
string 8,521 582,216 68
System.Collections.Hashtable
/Slot[] 105 197.304 1,879
Sytem.MonoType 7,102 170,448 24
Glib.Signal 1,920 138,240 72
System.Reflection.MonoMethod 2,832 113,280 40
Dashboard.Client.Tiles.Filetile
464 66,816 144
Gtk.Image 928 66,816 72
----------------
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]