Results 1 to 10 of 10

Thread: X memory leak

  1. #1

    Default X memory leak

    Could anyone tell me how can i pinpoint cause of a massive memory leak caused by X window system?? Right now it uses 1GB of physical memory and Virtual Memory has a size 1.6GB.How come??
    How does a linux geek make love??

    - rtfm; unzip; strip; touch; finger; mount; fsck; more; yes; umount; zip; sleep;

  2. #2
    Join Date
    Mar 2008
    Location
    Phuket, Thailand
    Posts
    26,490
    Blog Entries
    37

    Default Re: X memory leak

    Quote Originally Posted by BenderBendingRodriguez View Post
    Could anyone tell me how can i pinpoint cause of a massive memory leak caused by X window system?? Right now it uses 1GB of physical memory and Virtual Memory has a size 1.6GB.How come??
    What brings you to the conclusion that you have a memory leak? Based on what you stated? (I don't think that's a good criteria if you have no further information than that one snapshot statement). Still, from where do you get those numbers, and what is wrong with the Virtual Memory allocation ?

  3. #3
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    26,302
    Blog Entries
    15

    Default Re: X memory leak

    Quote Originally Posted by BenderBendingRodriguez
    Could anyone tell me how can i pinpoint cause of a massive memory leak
    caused by X window system?? Right now it uses 1GB of physical memory and
    Virtual Memory has a size 1.6GB.How come??

    Hi
    Try xrestop.

    --
    Cheers Malcolm (Linux Counter #276890)
    openSUSE 11.1 x86 Kernel 2.6.27.7-4-default
    up 2 days 17:34, 3 users, load average: 0.24, 0.38, 0.49
    GPU GeForce 6600 TE/6200 TE - Driver Version: 177.82


  4. #4

    Default Re: X memory leak

    As i can see Virtual Memory is nothing but X Window System taking 1GB of memory????? It normally takes about (don't remember right now) max 60 or 70MB. So 1011 MB exactly is quite too much isn't it??
    How does a linux geek make love??

    - rtfm; unzip; strip; touch; finger; mount; fsck; more; yes; umount; zip; sleep;

  5. #5
    Join Date
    Mar 2008
    Location
    Phuket, Thailand
    Posts
    26,490
    Blog Entries
    37

    Default Re: X memory leak

    Quote Originally Posted by BenderBendingRodriguez View Post
    As i can see Virtual Memory is nothing but X Window System taking 1GB of memory?????
    Just because 1 GB is assigned to Virtual Memory is not an indication of a memory leak.

    Where do you get your numbers from ? Maybe by posting that, someone can chip in on this thread and explain away what I believe is some misunderstanding.

  6. #6

    Default Re: X memory leak

    You understood me wrong:
    in System Monitor it look like that:


    X root around 1% 1617MB 1011MB 21MB

    beginning from X is:

    "Name" "User Name" "CPU%" "Virtual Size" "Memory" "Shared"


    So if anyone tells me that X using 1GB of memory is just fine ill laugh at loud.
    How does a linux geek make love??

    - rtfm; unzip; strip; touch; finger; mount; fsck; more; yes; umount; zip; sleep;

  7. #7
    Join Date
    Jun 2008
    Location
    Friesland
    Posts
    207

    Default Re: X memory leak

    "The day Microsoft makes something that doesn't suck is the day they make a vacuum cleaner"
    OS: Fedora9, RHEL5, CENTOS5, Arch, OpenSuSe11
    Hardware: Dell Precision M65

  8. #8

    Default Re: X memory leak

    While this is a great article it doesn't explain why normally X takes about 60 MB of memory (i can see that because cached memory etc. takes up to 7GB of memory) while now it is only 5.7GB being blocked by that 1GB used by X (which in normal cirsumstances takes as i said no more than 60MB so there MUST be something wrong, what am i talking to myself?) You try to convince me that I am wrong not the system which in Your mind is so perfect that it is so hard to admit that something is wrong.
    How does a linux geek make love??

    - rtfm; unzip; strip; touch; finger; mount; fsck; more; yes; umount; zip; sleep;

  9. #9
    Join Date
    Jun 2008
    Location
    Friesland
    Posts
    207

    Default Re: X memory leak

    i always think graphical tools are really sucky when you really want to know something.

    what does "top" say on the CLI?

    here's mine:
    Code:
    Tasks: 161 total,   1 running, 160 sleeping,   0 stopped,   0 zombie
    Cpu(s):  1.7%us,  0.3%sy,  0.0%ni, 98.0%id,  0.0%wa,  0.0%hi,  0.0%si,  0.0%st
    
      PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
    17267 stefan    20   0 99.3m  27m  15m S  2.3  2.7 105:15.31 kwin
     2257 root      20   0  103m  46m 7024 S  0.7  4.6  30:13.20 X
    or "ps"?
    Code:
     ps -eo pid,ppid,rss,vsize,pcpu,pmem,cmd -ww --sort=pid|grep X
    i do think you are really bold in insisting everybody is wrong but you are right, i am pretty much convinced X has no memory leak in xorg-server 1.5.x, at least not in the way you seem to experience.

    S.
    "The day Microsoft makes something that doesn't suck is the day they make a vacuum cleaner"
    OS: Fedora9, RHEL5, CENTOS5, Arch, OpenSuSe11
    Hardware: Dell Precision M65

  10. #10

    Default Re: X memory leak

    Well ps was confirming memory usage of X.
    But no biggie, i don't use kwin 4 anymore, back to basics KDE 3 here i come!
    How does a linux geek make love??

    - rtfm; unzip; strip; touch; finger; mount; fsck; more; yes; umount; zip; sleep;

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •