Closed fthpi closed 10 years ago
That is one hell of a jump. Using ArchLinux with [testing] and Cinnamon, I don't have this size of jump with any of the menus (mine will go up maybe 0.2MB on average).
I have the same RAM usage. Without Cinnamon menu 53MB(completely removed), with Cinnamon menu 178MB.
Cinnamon menu, load all icons for all apps in ram. Changed the categorys, only have the effect of hide and show app, result it's more ram, and more speed. I really prefer more speed, but if you have a machine with a few ram, then it's a problematic thing.
@clfarron4 0.2MB for me it's impossible... only you have one icon loaded or what?
@lestcape thanks for information, actually i wonder about what cause this RAM usage. i changed icon theme (hight contrast) result is awesome. after click menu cinnamon ram usage change about 10MB. Then is there a way remove icons from menu? looks only categorys and apps names. thanks again
i found a solution. i use menuplus applet. I edit applet.js and remove: if(icon) { this.icon = icon; this.addActor(this.icon); } this lines. Result: after click menu ram usage dont change :) And mymenu looks like this: http://imgim.com/6366incih4895451.png
@clfarron4 0.2MB for me it's impossible... only you have one icon loaded or what?
Nope, I have a full set of icons, with the GNOME style menus provided by bownz apps.
With packaged Cinnamon's menu applet, I only get around 10MB jump max.
Like @nfat I've noticed that different icon themes use different amounts of RAM. Numix seems to be a light one, where something like Moka is really RAM heavy.
after reboot my solutions is inefficiency. after click menu (with no icon) RAM usage is same ~150MB (from 60MB) Edit: i edit this line: GenericApplicationButton.prototype._init.call(this, menuApplet, app, true, 'menu-application-button', 'menu-application-button-label', app.create_icon_texture(APPLICATION_ICON_SIZE));
remove: , app.create_icon_texture(APPLICATION_ICON_SIZE)
now ram usage change little
ApplicationButton.prototype = { proto: GenericApplicationButton.prototype,
_init: function(appsMenuButton, app) {
GenericApplicationButton.prototype._init.call(this, appsMenuButton, app, true);
this.category = new Array();
this.actor.set_style_class_name('menu-application-button');
1 this.icon = this.app.create_icon_texture(APPLICATION_ICON_SIZE) 2 this.addActor(this.icon); this.name = this.app.get_name(); this.label = new St.Label({ text: this.name, style_class: 'menu-application-button-label' }); this.addActor(this.label); this._draggable = DND.makeDraggable(this.actor); this.isDraggableApp = true; 3 this.icon.realize(); this.label.realize(); },
Comment: 1 //this.icon = this.app.create_icon_texture(APPLICATION_ICON_SIZE) 2 //this.addActor(this.icon); 3 //this.icon.realize();
@lestcape and @clfarron4 thanks a lot
@clfarron4 a full set of icons, with the GNOME style menus... very interesting... Can i download this? Where?
Thanks...
I use this applet: http://cinnamon-spices.linuxmint.com/applets/view/51
You're better downloading it and following the instructions in the archive than installing it through the Applet Manager in Cinnamon Settings.
It also needs updating to the Cinnamon 2 settings.
Running latest cinnamon releses on debian sid. Memory usage at commandline ( using startx as cinnamon entry ) Private + Shared = RAM used Program 4.77 mb + 118.00 kb = 4.89 mb pulseaudio 4.48 mb + 361.00 kb = 4.83 mb bash 2.51 mb + 454.00 kb = 2.96 mb NetworkManager 2.90 mb + 37.00 kb = 2.94 mb dhclient 2.04 mb + 118.00 kb = 2.16 mb wpa_supplicant 1.77 mb + 327.00 kb = 2.09 mb console-kit-dae 1.64 mb + 381.00 kb = 2.01 mb upowerd 1.55 mb + 343.00 kb = 1.89 mb polkitd 1.05 mb + 632.00 kb = 1.66 mb udisks-daemon(2) 1.36 mb + 27.00 kb = 1.38 mb dbus-daemon 1.30 mb + 39.00 kb = 1.34 mb udevd 1.03 mb + 212.00 kb = 1.24 mb modem-manager 832.00 kb + 342.00 kb = 1.14 mb accounts-daemon 1.02 mb + 27.00 kb = 1.05 mb rsyslogd 824.00 kb + 211.00 kb = 1.01 mb getty(5) 804.00 kb + 102.00 kb = 906.00 kb login 128.00 kb + 563.00 kb = 691.00 kb aaa-mem-info 424.00 kb + 31.00 kb = 455.00 kb pcscd 320.00 kb + 62.00 kb = 382.00 kb cron 216.00 kb + 32.00 kb = 248.00 kb init 180.00 kb + 34.00 kb = 214.00 kb acpid 188.00 kb + 8.00 kb = 196.00 kb atd
Memory at cinnamon desktop just gnome terminal
Private + Shared = RAM used Program 146.31 mb + 8.20 mb = 154.51 mb cinnamon 36.12 mb + 4.44 mb = 40.57 mb nemo 30.36 mb + 5.75 mb = 36.11 mb Xorg 18.36 mb + 2.78 mb = 21.14 mb cinnamon-launch 15.92 mb + 3.06 mb = 18.99 mb cinnamon-settin 15.83 mb + 2.98 mb = 18.81 mb gnome-terminal 13.35 mb + 1.70 mb = 15.06 mb cinnamon-screen 12.14 mb + 1.70 mb = 13.85 mb x-session-manag 12.02 mb + 1.57 mb = 13.60 mb polkit-gnome-au 10.96 mb + 1.42 mb = 12.38 mb csd-printer 9.70 mb + 1.36 mb = 11.06 mb python 6.88 mb + 664.00 kb = 7.53 mb bash(2) 4.17 mb + 225.00 kb = 4.39 mb pulseaudio 2.75 mb + 367.00 kb = 3.11 mb dbus-daemon(4) 2.88 mb + 29.00 kb = 2.91 mb dhclient 2.18 mb + 347.00 kb = 2.52 mb NetworkManager 1.83 mb + 117.00 kb = 1.94 mb gconfd-2 1.73 mb + 126.00 kb = 1.85 mb console-kit-dae 1.26 mb + 341.00 kb = 1.59 mb wpa_supplicant 1.40 mb + 137.00 kb = 1.54 mb polkitd 1.24 mb + 191.00 kb = 1.43 mb upowerd 1.05 mb + 381.00 kb = 1.42 mb udisks-daemon(2) 1.30 mb + 16.00 kb = 1.32 mb udevd 1.12 mb + 156.00 kb = 1.28 mb gvfs-gdu-volume 1.03 mb + 71.00 kb = 1.10 mb modem-manager 1.02 mb + 13.00 kb = 1.03 mb rsyslogd 780.00 kb + 180.00 kb = 960.00 kb gvfsd-trash 828.00 kb + 118.00 kb = 946.00 kb accounts-daemon 824.00 kb + 115.00 kb = 939.00 kb getty(5) 780.00 kb + 119.00 kb = 899.00 kb gvfs-gphoto2-vo 772.00 kb + 60.00 kb = 832.00 kb login 716.00 kb + 105.00 kb = 821.00 kb gvfs-afc-volume 644.00 kb + 177.00 kb = 821.00 kb at-spi-bus-laun 692.00 kb + 127.00 kb = 819.00 kb at-spi2-registr 672.00 kb + 89.00 kb = 761.00 kb dconf-service 696.00 kb + 54.00 kb = 750.00 kb dbus-launch(2) 572.00 kb + 136.00 kb = 708.00 kb gvfsd 128.00 kb + 374.00 kb = 502.00 kb aaa-mem-info 424.00 kb + 14.00 kb = 438.00 kb pcscd 388.00 kb + 1024 b = 389.00 kb ssh-agent 332.00 kb + 41.00 kb = 373.00 kb ck-launch-sessi 316.00 kb + 33.00 kb = 349.00 kb cron 272.00 kb + 32.00 kb = 304.00 kb xinit 252.00 kb + 14.00 kb = 266.00 kb startx 216.00 kb + 14.00 kb = 230.00 kb init 184.00 kb + 19.00 kb = 203.00 kb acpid 188.00 kb + 3.00 kb = 191.00 kb atd
403.52 mb
And after a while cinnamon gets to 400 odd what am i doing wrong ????
@clfarron4 thanks!!
Before click cinnamon menu, cinnamon use about 73 MB http://imgim.com/screenshotfrom2013-12-0517:22:46.png After click menu, cinnamon use about 178MB http://imgim.com/screenshotfrom2013-12-0517:22:52.png
I try another menu applets (default menu) and themes but results same. Maybe it cant be issue, but i think this ram usage very much
Arch Linux 64 bit Cinnamon 2.0.14