LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
LinkBack Search this Thread
Old 05-31-2006, 08:20 AM   #1
eantoranz
Senior Member
 
Registered: Apr 2003
Location: Colombia
Distribution: Kubuntu, Debian, Knoppix
Posts: 1,505
Blog Entries: 1

Rep: Reputation: 67
Exclamation Xorg is eating up my memory!!!


How can I keep Xorg from eating up my memory?

Look at this line from top:
Code:
4774 root      15   0  418m 104m 2304 S    2 43.0 176:28.43 Xorg
418 Mbs of VIRT!!! :-O

I'm not a gamer!!! Why is that happening?
 
Old 05-31-2006, 01:32 PM   #2
Mizzou_Engineer
LQ Newbie
 
Registered: Jan 2006
Location: Missouri
Distribution: Gentoo 2007.0 x86 & amd64
Posts: 25

Rep: Reputation: 15
Xorg can reserve a lot of memory (that's what "virt" is.) It is actually using 104m in your setup. It's not exactly a lightweight application. But one thing that you have to realize is that Xorg's virtual and application memory figures also include the dependency libraries of Xorg too. Also, Linux likes to fill up the RAM with caches and buffers as it's a lot faster to read data from RAM than from a hard drive. A HDD will give you 30-60 MB/sec, while a modern computer's RAM will throughput 4.5-8 GB/sec.

Here's my Xorg setting from top:

17486 root 15 0 478m 406m 6504 S 2 20.2 42:46.95 X

I have even more virtual memory being reserved by X, and four times the actual application memory being used by X- over 400 MB. (I have a multihead setup that makes X use a lot of RAM.) One thing that you can do is to run the command "free -mt" to see how much actual RAM is being used by applications and is not just being buffered.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
eating all my memory (HELP!) twon Linux - Hardware 4 05-12-2006 08:40 AM
Firefox eating into my memory masand Linux - Software 4 07-01-2005 04:23 AM
Something is eating my memory benne Linux - Software 15 11-25-2004 06:02 AM
Linux is eating to much memory!!! alwin Linux - Networking 2 01-12-2003 10:32 PM
How do I see what's eating all my memory? thomas.nichols Linux - General 1 09-05-2001 09:19 AM


All times are GMT -5. The time now is 10:43 AM.

Main Menu
 
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration