Re: Xorg high memory usage
Veljko writes: On Tue, May 28, 2013 at 04:20:04PM +0200, Linux-Fan wrote: I have tried to reproduce the problem as well but my Xorg's memory usage stayed constant (about 50M), iceweasel's memory usage went from 180M to 900M during the test. I used a periodic ps invocation to get the data pasted to http://paste.debian.net/plain/7070, this was the peak output: -- 28.05.2013 - 16:07:01 up 43 min, 4 users, load average: 1.51, 0.85, 0.58 -- COMMAND C %MEMVSZ RSS Xorg 3 0.9 166480 58300 iceweasel 53 15.2 1714556 931832 I am using Debian 7.0.0 Wheezy, Iceweasel is from Experimental. Window Manager: Fluxbox, xcompmgr enabled. Graphics Driver: Debian-packaged Nvidia non-free. It seems not to depend on Iceweasel and Debian alone ... as already mentioned by someone else, graphics drivers and such certainly also influence the result. Linux-Fan I asked friend of mine, who is still running Squeezy, to test it and Xorg behaves nicely. As for graphics drivers, I'm using open source radeon drivers. 01:05.0 VGA compatible controller: Advanced Micro Devices [AMD] nee ATI RS780L [Radeon HD 3000] My laptop is also using the open source radeon driver. The problem could be that iceweasel/firefox are trying to store the images into the GPU's RAM, but the driver places them in the RAM instead. -- Alberto -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/87d2sa8c4d@eps142.cdf.udc.es
Re: Xorg high memory usage
Veljko writes: This is really weird as both Debian and Slackware use same xorg: dpkg -l |grep xserver-xorg-core ii xserver-xorg-core 2:1.12.4-6 amd64 Xorg X server - core server ls /var/log/packages/ |grep xorg-server xorg-server-1.12.4-x86_64-1_slack14.0 And what about the version numbers for iceweasel and firefox? Nobody has any idea what could be the problem? Should I file a bug? Would that be bug for Xorg or Iceweasel? That behavior is not a good thing, but it is not very surprising to me. It seems that iceweasel is storing all images as X pixmaps, so the memory requirements of the Xorg server grow. Maybe other browsers tend to avoid the issue by not loading all the images in memory simultaneously. Nevertheless, it would be a good thing to know if this is going to stay as is, or if there are plans to reduce that ram compsumption. -- Alberto -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/871u8rpngh@eps142.cdf.udc.es
Re: Xorg high memory usage
On Tue, May 28, 2013 at 09:34:22AM +0200, Alberto Luaces wrote: And what about the version numbers for iceweasel and firefox? Debian: iceweasel -v Mozilla Iceweasel 10.0.12 Slackware: firefox -v Mozilla Firefox 21.0 Firefox I downloaded from mozilla.org and I started on Debian: ./firefox-bin -v Mozilla Firefox 21.0 That behavior is not a good thing, but it is not very surprising to me. Not good, indeed. This is very important peace of software everybody use. It seems that iceweasel is storing all images as X pixmaps, so the memory requirements of the Xorg server grow. Maybe other browsers tend to avoid the issue by not loading all the images in memory simultaneously. Nevertheless, it would be a good thing to know if this is going to stay as is, or if there are plans to reduce that ram compsumption. Firefox I downloaded behaves exactly like Iceweasel, but only on Debian. That's why I'm not sure if problem lies only there. If picture is loaded in RAM by browser, why to duplicate it in Xorg? -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20130528084255.ga3...@angelina.example.com
Re: Xorg high memory usage
Veljko writes: On Tue, May 28, 2013 at 09:34:22AM +0200, Alberto Luaces wrote: And what about the version numbers for iceweasel and firefox? Debian: iceweasel -v Mozilla Iceweasel 10.0.12 Slackware: firefox -v Mozilla Firefox 21.0 Firefox I downloaded from mozilla.org and I started on Debian: ./firefox-bin -v Mozilla Firefox 21.0 If I remember correctly, the same happens in my laptop with iceweasel 18. That behavior is not a good thing, but it is not very surprising to me. Not good, indeed. This is very important peace of software everybody use. It seems that iceweasel is storing all images as X pixmaps, so the memory requirements of the Xorg server grow. Maybe other browsers tend to avoid the issue by not loading all the images in memory simultaneously. Nevertheless, it would be a good thing to know if this is going to stay as is, or if there are plans to reduce that ram compsumption. Firefox I downloaded behaves exactly like Iceweasel, but only on Debian. That's why I'm not sure if problem lies only there. If picture is loaded in RAM by browser, why to duplicate it in Xorg? I don't know. It could be an error in Xorg, or just triggered by iceweasel/firefox. There are similar bug reports (http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=673349), but we would have to compare Xorg versions and graphic drivers between Debian and Slackware. -- Alberto -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/87li6zo4aw@eps142.cdf.udc.es
Re: Xorg high memory usage
On Tue, May 28, 2013 at 10:42:55AM +0200, Veljko wrote: On Tue, May 28, 2013 at 09:34:22AM +0200, Alberto Luaces wrote: And what about the version numbers for iceweasel and firefox? Debian: iceweasel -v Mozilla Iceweasel 10.0.12 Slackware: firefox -v Mozilla Firefox 21.0 Firefox I downloaded from mozilla.org and I started on Debian: ./firefox-bin -v Mozilla Firefox 21.0 That behavior is not a good thing, but it is not very surprising to me. Not good, indeed. This is very important peace of software everybody use. It seems that iceweasel is storing all images as X pixmaps, so the memory requirements of the Xorg server grow. Maybe other browsers tend to avoid the issue by not loading all the images in memory simultaneously. Nevertheless, it would be a good thing to know if this is going to stay as is, or if there are plans to reduce that ram compsumption. Firefox I downloaded behaves exactly like Iceweasel, but only on Debian. That's why I'm not sure if problem lies only there. If picture is loaded in RAM by browser, why to duplicate it in Xorg? -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20130528084255.ga3...@angelina.example.com I don't think this is an Xorg issue, just tried the webpage you suggested on Firefox in Windows 7, same issue, rapid memory usage growth. Seems more like a Firefox issue, can you try a Nightly [0] build and see if the issue still exists? [0] - http://nightly.mozilla.org/ -- staticsafe O ascii ribbon campaign - stop html mail - www.asciiribbon.org Please don't top post - http://goo.gl/YrmAb Don't CC me! I'm subscribed to whatever list I just posted on. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20130528134433.gc14...@uriel.asininetech.com
Re: Xorg high memory usage
staticsafe writes: I don't think this is an Xorg issue, just tried the webpage you suggested on Firefox in Windows 7, same issue, rapid memory usage growth. Seems more like a Firefox issue, can you try a Nightly [0] build and see if the issue still exists? I guess the problem is not firefox eating lots of memory, but Xorg doing the same simultaneously. -- Alberto -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/87zjvfmcjr@eps142.cdf.udc.es
Re: Xorg high memory usage
On Tue, May 28, 2013 at 03:58:16PM +0200, Alberto Luaces wrote: staticsafe writes: I don't think this is an Xorg issue, just tried the webpage you suggested on Firefox in Windows 7, same issue, rapid memory usage growth. Seems more like a Firefox issue, can you try a Nightly [0] build and see if the issue still exists? I guess the problem is not firefox eating lots of memory, but Xorg doing the same simultaneously. -- Alberto Might have found some answers to the Firefox side of the issue: http://kb.mozillazine.org/Reducing_memory_usage_-_Firefox#Image-heavy_sites https://bugzilla.mozilla.org/show_bug.cgi?id=683284 -- staticsafe O ascii ribbon campaign - stop html mail - www.asciiribbon.org Please don't top post - http://goo.gl/YrmAb Don't CC me! I'm subscribed to whatever list I just posted on. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20130528140704.gd14...@uriel.asininetech.com
Re: Xorg high memory usage
On 05/28/2013 10:42 AM, Veljko wrote: On Tue, May 28, 2013 at 09:34:22AM +0200, Alberto Luaces wrote: And what about the version numbers for iceweasel and firefox? Debian: iceweasel -v Mozilla Iceweasel 10.0.12 $ Mozilla Iceweasel 20.0 It seems that iceweasel is storing all images as X pixmaps, so the memory requirements of the Xorg server grow. Maybe other browsers tend to avoid the issue by not loading all the images in memory simultaneously. Nevertheless, it would be a good thing to know if this is going to stay as is, or if there are plans to reduce that ram compsumption. Firefox I downloaded behaves exactly like Iceweasel, but only on Debian. That's why I'm not sure if problem lies only there. If picture is loaded in RAM by browser, why to duplicate it in Xorg? I have tried to reproduce the problem as well but my Xorg's memory usage stayed constant (about 50M), iceweasel's memory usage went from 180M to 900M during the test. I used a periodic ps invocation to get the data pasted to http://paste.debian.net/plain/7070, this was the peak output: -- 28.05.2013 - 16:07:01 up 43 min, 4 users, load average: 1.51, 0.85, 0.58 -- COMMAND C %MEMVSZ RSS Xorg 3 0.9 166480 58300 iceweasel 53 15.2 1714556 931832 I am using Debian 7.0.0 Wheezy, Iceweasel is from Experimental. Window Manager: Fluxbox, xcompmgr enabled. Graphics Driver: Debian-packaged Nvidia non-free. It seems not to depend on Iceweasel and Debian alone ... as already mentioned by someone else, graphics drivers and such certainly also influence the result. Linux-Fan -- http://masysma.ohost.de/ -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/51a4bd14.7090...@web.de
Re: Xorg high memory usage
On Tue, May 28, 2013 at 03:58:16PM +0200, Alberto Luaces wrote: staticsafe writes: I don't think this is an Xorg issue, just tried the webpage you suggested on Firefox in Windows 7, same issue, rapid memory usage growth. Seems more like a Firefox issue, can you try a Nightly [0] build and see if the issue still exists? I guess the problem is not firefox eating lots of memory, but Xorg doing the same simultaneously. Exactly, it is expected for browser to eat lot of RAM in this situation, but Xorg shouldn't. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20130528162453.gb12...@angelina.example.com
Re: Xorg high memory usage
On Tue, May 28, 2013 at 04:20:04PM +0200, Linux-Fan wrote: I have tried to reproduce the problem as well but my Xorg's memory usage stayed constant (about 50M), iceweasel's memory usage went from 180M to 900M during the test. I used a periodic ps invocation to get the data pasted to http://paste.debian.net/plain/7070, this was the peak output: -- 28.05.2013 - 16:07:01 up 43 min, 4 users, load average: 1.51, 0.85, 0.58 -- COMMAND C %MEMVSZ RSS Xorg 3 0.9 166480 58300 iceweasel 53 15.2 1714556 931832 I am using Debian 7.0.0 Wheezy, Iceweasel is from Experimental. Window Manager: Fluxbox, xcompmgr enabled. Graphics Driver: Debian-packaged Nvidia non-free. It seems not to depend on Iceweasel and Debian alone ... as already mentioned by someone else, graphics drivers and such certainly also influence the result. Linux-Fan I asked friend of mine, who is still running Squeezy, to test it and Xorg behaves nicely. As for graphics drivers, I'm using open source radeon drivers. 01:05.0 VGA compatible controller: Advanced Micro Devices [AMD] nee ATI RS780L [Radeon HD 3000] -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20130528162519.gc12...@angelina.example.com
Re: Xorg high memory usage
On Sun, May 26, 2013 at 11:49:19PM +0200, Veljko wrote: On Sat, May 25, 2013 at 12:09:05PM +0200, Veljko wrote: Hello, I don't know if this is bug, but when I visit some thumblr blogs that have endless scrolling (like google images search), it is expected that Iceweasel eats lots of RAM (here are lots of pictures), but Xorg RAM usage is even bigger. More I scroll, more of RAM gets used by Iceweasel and Xorg. Currently Xorg takes 36% and Iceweasel takes 34% of RAM (I have 2GB). I'm using Wheezy. I'm dual booting with Slackware 14 (3.2.29 kernel) and there is no such issue, only FIrefox takes lots of RAM and X is always on 4-5%. Both installation uses i3wm. Only difference is Debian uses GDM and Slackware uses KDM. Any idea what could be the problem? Regards, Veljko To update this question. I tried without GDM, just with startx, same situation. Then I tried Chromium and Xorg stayed at 5%. So, it seams it's only related to Iceweasel. To check if it has something to do with Debian's changed version, I downloaded Firefox binary from mozilla.org, but even with this version Xorg still eats RAM. If someone wants to confirm, try with page like this: http://monk3y.tumblr.com/ Scroll down and check memory usage. This is really weird as both Debian and Slackware use same xorg: dpkg -l |grep xserver-xorg-core ii xserver-xorg-core 2:1.12.4-6 amd64Xorg X server - core server ls /var/log/packages/ |grep xorg-server xorg-server-1.12.4-x86_64-1_slack14.0 Nobody has any idea what could be the problem? Should I file a bug? Would that be bug for Xorg or Iceweasel? -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20130527155706.gg8...@angelina.example.com
Re: Xorg high memory usage
On 05/27/2013 11:57 AM, Veljko wrote: On Sun, May 26, 2013 at 11:49:19PM +0200, Veljko wrote: On Sat, May 25, 2013 at 12:09:05PM +0200, Veljko wrote: Hello, I don't know if this is bug, but when I visit some thumblr blogs that have endless scrolling (like google images search), it is expected that Iceweasel eats lots of RAM (here are lots of pictures), but Xorg RAM usage is even bigger. More I scroll, more of RAM gets used by Iceweasel and Xorg. Currently Xorg takes 36% and Iceweasel takes 34% of RAM (I have 2GB). I'm using Wheezy. I'm dual booting with Slackware 14 (3.2.29 kernel) and there is no such issue, only FIrefox takes lots of RAM and X is always on 4-5%. Both installation uses i3wm. Only difference is Debian uses GDM and Slackware uses KDM. Any idea what could be the problem? Regards, Veljko To update this question. I tried without GDM, just with startx, same situation. Then I tried Chromium and Xorg stayed at 5%. So, it seams it's only related to Iceweasel. To check if it has something to do with Debian's changed version, I downloaded Firefox binary from mozilla.org, but even with this version Xorg still eats RAM. If someone wants to confirm, try with page like this: http://monk3y.tumblr.com/ Scroll down and check memory usage. This is really weird as both Debian and Slackware use same xorg: dpkg -l |grep xserver-xorg-core ii xserver-xorg-core 2:1.12.4-6 amd64Xorg X server - core server ls /var/log/packages/ |grep xorg-server xorg-server-1.12.4-x86_64-1_slack14.0 Nobody has any idea what could be the problem? Should I file a bug? Would that be bug for Xorg or Iceweasel? wtopa@dj:~$ apt-listbugs list iceweasel Retrieving bug reports... Done Parsing Found/Fixed information... Done serious bugs of iceweasel (- ) marked as done in some version #696041 - ia64 (Itanium) Mozilla JS engine needs pointers have their high 17 bits cleared (Fixed: iceweasel/10.0.12esr-1+nmu1) #705067 - FTBFS on powerpc: Missing WebRTC entries in configure.ac (Fixed: 21.0-1) #692053 - [ia64] Iceweasel 10.0 (and above?) randomly stops responding, eating 100% CPU (Fixed: iceweasel/10.0.12esr-1+nmu1) grave bugs of iceweasel (- ) unfixed #709841 - iceweasel: spurious out of memory + crash (segmentation fault) #703472 - iceweasel freezes on some site due to bad handling of mailcap file #703071 - CVE-2011-1187, CVE-2012-0475, CVE-2013-{0773,0775,0776,0780,0782,0783} (Fixed: iceweasel/19.0-1) #704019 - iceweasel: Iceweasel Crashes upon loading pages using JavaScript #674908 - [sparc] iceweasel: JavaScript crash on some sites serious bugs of iceweasel (- ) unfixed #708765 - iceweasel: FTBFS with gawk Summary: iceweasel(9 bugs) -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/51a38bb2.6050...@gmail.com
Re: Xorg high memory usage
On Sat, May 25, 2013 at 12:09:05PM +0200, Veljko wrote: Hello, I don't know if this is bug, but when I visit some thumblr blogs that have endless scrolling (like google images search), it is expected that Iceweasel eats lots of RAM (here are lots of pictures), but Xorg RAM usage is even bigger. More I scroll, more of RAM gets used by Iceweasel and Xorg. Currently Xorg takes 36% and Iceweasel takes 34% of RAM (I have 2GB). I'm using Wheezy. I'm dual booting with Slackware 14 (3.2.29 kernel) and there is no such issue, only FIrefox takes lots of RAM and X is always on 4-5%. Both installation uses i3wm. Only difference is Debian uses GDM and Slackware uses KDM. Any idea what could be the problem? Regards, Veljko To update this question. I tried without GDM, just with startx, same situation. Then I tried Chromium and Xorg stayed at 5%. So, it seams it's only related to Iceweasel. To check if it has something to do with Debian's changed version, I downloaded Firefox binary from mozilla.org, but even with this version Xorg still eats RAM. If someone wants to confirm, try with page like this: http://monk3y.tumblr.com/ Scroll down and check memory usage. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20130526214919.ga3...@angelina.example.com