Results 1 to 10 of 10

Thread: X memory leak

  1. #1
    BenderBendingRodriguez NNTP User

    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??


    --
    If builders built homes the same way programmers make applications then
    one woodpecker would destroy whole civilization.
    ------------------------------------------------------------------------
    BenderBendingRodriguez's Profile: http://forums.opensuse.org/member.php?userid=1731
    View this thread: http://forums.opensuse.org/showthread.php?t=401994


  2. #2
    oldcpu NNTP User

    Default Re: X memory leak


    BenderBendingRodriguez;1910037 Wrote:
    > 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 ?


    --
    oldcpu
    ------------------------------------------------------------------------
    oldcpu's Profile: http://forums.opensuse.org/member.php?userid=77
    View this thread: http://forums.opensuse.org/showthread.php?t=401994


  3. #3
    Malcolm NNTP User

    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
    BenderBendingRodriguez NNTP User

    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??


    --
    If builders built homes the same way programmers make applications then
    one woodpecker would destroy whole civilization.
    ------------------------------------------------------------------------
    BenderBendingRodriguez's Profile: http://forums.opensuse.org/member.php?userid=1731
    View this thread: http://forums.opensuse.org/showthread.php?t=401994


  5. #5
    oldcpu NNTP User

    Default Re: X memory leak


    BenderBendingRodriguez;1910066 Wrote:
    > 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.


    --
    oldcpu
    ------------------------------------------------------------------------
    oldcpu's Profile: http://forums.opensuse.org/member.php?userid=77
    View this thread: http://forums.opensuse.org/showthread.php?t=401994


  6. #6
    BenderBendingRodriguez NNTP User

    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.


    --
    If builders built homes the same way programmers make applications then
    one woodpecker would destroy whole civilization.
    ------------------------------------------------------------------------
    BenderBendingRodriguez's Profile: http://forums.opensuse.org/member.php?userid=1731
    View this thread: http://forums.opensuse.org/showthread.php?t=401994


  7. #7
    stefan1975 NNTP User

    Default Re: X memory leak


    'Virtual Threads: Understanding memory usage on Linux'
    (http://tinyurl.com/dnd9d)

    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
    ------------------------------------------------------------------------
    stefan1975's Profile: http://forums.opensuse.org/member.php?userid=902
    View this thread: http://forums.opensuse.org/showthread.php?t=401994


  8. #8
    BenderBendingRodriguez NNTP User

    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.


    --
    If builders built homes the same way programmers make applications then
    one woodpecker would destroy whole civilization.
    ------------------------------------------------------------------------
    BenderBendingRodriguez's Profile: http://forums.opensuse.org/member.php?userid=1731
    View this thread: http://forums.opensuse.org/showthread.php?t=401994


  9. #9
    stefan1975 NNTP User

    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
    ------------------------------------------------------------------------
    stefan1975's Profile: http://forums.opensuse.org/member.php?userid=902
    View this thread: http://forums.opensuse.org/showthread.php?t=401994


  10. #10
    BenderBendingRodriguez NNTP User

    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!


    --
    If builders built homes the same way programmers make applications then
    one woodpecker would destroy whole civilization.
    ------------------------------------------------------------------------
    BenderBendingRodriguez's Profile: http://forums.opensuse.org/member.php?userid=1731
    View this thread: http://forums.opensuse.org/showthread.php?t=401994


Posting Permissions

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