Find the answer to your Linux question:
Results 1 to 6 of 6
I believe that I have a memory leak problem. When I start X, it uses only 20 megs of ram and everything is dandy. However, after 5 days, sometimes as ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    May 2005
    Posts
    3

    X windows memory leak?


    I believe that I have a memory leak problem. When I start X, it uses only 20 megs of ram and everything is dandy. However, after 5 days, sometimes as little as one, as is happening now, my X starts to use 70 megs of ram. This is obscene. The worst part is, it gets bigger at a constant rate, even if my computer is idle. Eventually, my memory will be used up and I'll have to restart X.
    I am running Fedora Core 4 with a 2.6.11 kernal and Xorg 6.8.2. I am useing XFCE 4.
    Oh, and speaking of XFCE, I have the same problem with xfce-panel.

    Please help me!

  2. #2
    Linux Newbie mindblast's Avatar
    Join Date
    Nov 2005
    Location
    iasi, RO
    Posts
    132
    I happen this me too... Only on debian. Maybe the problem is that you got to little RAM, and not so big swap space.

  3. #3
    Just Joined!
    Join Date
    Jun 2005
    Location
    Canada, Halifax
    Posts
    86
    post the results of
    Code:
    $ free

  4. $spacer_open
    $spacer_close
  5. #4
    Just Joined!
    Join Date
    May 2005
    Posts
    3
    Well, I doubt memory is the problem. I have 512 megs of ram and 1024 megs of swap.
    As for free:
    total used free shared buffers cached
    Mem: 514816 446380 68436 0 37524 262312
    -/+ buffers/cache: 146544 368272
    Swap: 1028120 17564 1010556

    I was not currently haveing the memory problem when I took this.
    Q: How do I make a code box to put this in?

  6. #5
    Just Joined!
    Join Date
    Jun 2005
    Location
    Canada, Halifax
    Posts
    86
    What you think is a memory leak may only be the kernel assigning unused memory for program buffers and HDD cache. The kernel frees buffers and cache RAM dynamically. Monitor free's output over the next few days and analyze the results.

    \[code\] put code here \[/code\]

    (omit the escape characters: \)

  7. #6
    Just Joined!
    Join Date
    May 2005
    Posts
    3
    I'm pretty sure it's a memory leak. These programs use more and more memory each day. The individuals processes.

Posting Permissions

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