LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 01-02-2005, 10:05 AM   #1
LittlesnowLinux
Member
 
Registered: Nov 2004
Location: China
Distribution: Debian
Posts: 30

Rep: Reputation: 15
I am in slight fear of using debian.


My memory is 256M.And now debian uses 240M or even above.I know that many of the used
memory is cache.But it is too frighting.The reason why I chose debian after I have experienced other distributions is that it uses little memory.I still remember the first time,not long before, I haved installed woody and configured it properly,it just used 90M memory.Why?
 
Old 01-02-2005, 11:05 AM   #2
jabberwock486
Member
 
Registered: Jul 2003
Posts: 74

Rep: Reputation: 15
i dont see why this memory useage would scare you? is there any reason for this? it will run fine with 256MB, and memory is usally cheap, unless you got RD or something special. I have run it fine on 128MB systems with no issues. so in the end you will be fine. i guess you could always configure what programs are in use, or trim the kernel.

maybe you should just update the memory, like i said not too expensive if you got somethign standard.
 
Old 01-02-2005, 12:52 PM   #3
otoomet
Member
 
Registered: Oct 2004
Location: Tartu, Århus,Nürnberg, Europe
Distribution: Debian, Ubuntu, Puppy
Posts: 619

Rep: Reputation: 45
How do you measure the memory usage? Usually top shows memory usage around 95% no matter now much RAM you actually have.

If you want to minimize memory usage, you have to look at the desktop and programs you are using. Choice of distro matters less. Drop KDE and gnome and use something lightweight instead (I am using fvwm). Avoid memory-hungry programs (unfortunately browsers belong to this category). Use xdm instead of kdm/gdm, there are ways to make X11 less memory-hungry as well.

In fact, I believe 256M is enough for everyday work. Don't bother unless you really are short of RAM.

best,
Ott
 
Old 01-02-2005, 01:52 PM   #4
Moloko
Member
 
Registered: Mar 2004
Location: Netherlands
Distribution: Debian
Posts: 729

Rep: Reputation: 30
Quote:
I know that many of the used memory is cache
That is all there's to it. As long as the swap area isn't used under normal conditions you have plenty of memory. I have always been pleased with Linux using all available memory, so my investment in memory is not a waste of money.
 
Old 01-02-2005, 02:30 PM   #5
SlackerLX
Senior Member
 
Registered: Dec 2004
Location: Herzliyya, Israel
Distribution: SuSE 10.1; Testing Distros
Posts: 1,832

Rep: Reputation: 47
I tried Debian Sarge and it behaved rather good!
About memory. I have double channel on my Asus board and 512MB of Corsair.
Indicator will almost always show you that memory usage bar is full. Ignore that, unless your swap is full too
 
Old 01-02-2005, 03:13 PM   #6
Mr. New
Member
 
Registered: Oct 2004
Distribution: Kubuntu and Mac OS X
Posts: 80

Rep: Reputation: 15
it'll move the unneeded data to swap when you need it for something else (ithink it does anyway), I got debian running pretty fast on this computer using 64mb,

Off topic: I had this old computer to run all this and it still had reasonable speed
Openoffice- with a spreadsheet and writer document open
Mozilla firefox- 2 windows one with 117 tabs
Gaim
Few Eterms an Aterm and Konsole
anjuta, gimp 2 (with a 1024x768 image open), cinepaint
Konqueror
idesk
and fluxbox with xfree86 running 60 mb of ram is always used whether i have all that^ or hardly anything running.
 
Old 01-02-2005, 04:25 PM   #7
mipia
Member
 
Registered: May 2003
Location: lake michigan
Distribution: Debian, Mint, Slackware
Posts: 457

Rep: Reputation: 35
im running sarge with 256 and it flies. nothing to worry about
 
Old 01-03-2005, 08:58 AM   #8
LittlesnowLinux
Member
 
Registered: Nov 2004
Location: China
Distribution: Debian
Posts: 30

Original Poster
Rep: Reputation: 15
Why has it just used 90M,and now it uses 190M,I get this from top command and
gnome-system-monitor.And I used to think it is the cause of updating system,so
I reinstall it,but the same case!Is it the cause of gnome and X-window,Because except gnome and X-window other softwares is from the old CDs.And the two is installed via internet
 
Old 01-03-2005, 04:07 PM   #9
mp55
Member
 
Registered: Jul 2004
Distribution: Fedora 7
Posts: 32

Rep: Reputation: 15
If the memory is used by cache you really don't need to worry about it. What's in the cache is the data you have accessed before. It's in the memory so that next time you access it, linux won't need to fetch it from the disk again. The momory used by cache will be freed if other programs request memory. I once wrote a program that will use about 1G of memory. Our server has 1.2G of memory. Before I ran my program, top showed 900M of the memory was used, majorly by cache. After my program finished, top showed only 100M of the memory is used. This is because linux freed the cache and give 1G memory to my program, then when my program finished, it released the 1G memory. So although at first top showed 900M memory is used, actually only 100M is used.
To find out the actually amout of memory used, we can use the free command
Code:
debian:~$ free -k
             total       used       free     shared    buffers     cached
Mem:        515916     283140     232776          0      36396     116216
-/+ buffers/cache:     130528     385388
Swap:       898088          0     898088
top will show 283140k memory is used, but actually 116216k of them is used by cache, so the amount of memory actually used is 130528k.
 
Old 01-03-2005, 04:32 PM   #10
mrcheeks
Senior Member
 
Registered: Mar 2004
Location: far enough
Distribution: OS X 10.6.7
Posts: 1,690

Rep: Reputation: 52
I have 289MB of ram but a 566MHZ but i can not run the latest gnome or kde at a reasonable speed. So i use fvwm or another light window manager.

It is gnome which is eating up your memory, not linux.
 
Old 01-04-2005, 02:16 AM   #11
LittlesnowLinux
Member
 
Registered: Nov 2004
Location: China
Distribution: Debian
Posts: 30

Original Poster
Rep: Reputation: 15
Thank all of you,especially mp55.Oh,my linux just uses 120M,less than my windows
 
Old 01-04-2005, 11:18 AM   #12
ValidiusMaximus
Member
 
Registered: Mar 2004
Distribution: Debian Sarge
Posts: 169

Rep: Reputation: 30
i'm running Debian Sid with Firefox (2 tabs), KDE and Xmms running and I'm only using 179MB of ram (out of 190). My system is a dual 350mhz PII with a custom compiled 2.6.10 kernel and Debian runs great. I can even play QuakeWorld with no problem.
 
  


Reply



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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Linux, bringing fear to microsoft corbintechboy General 17 01-20-2006 09:03 PM
Does Apple Fear the Penguin? webterractive General 23 04-13-2004 01:53 PM
Why I fear Fedora premsaggar Fedora 5 12-27-2003 11:10 PM
Slight Debian installation problem... LSD Debian 7 09-21-2003 10:29 AM
I fear sridharinfinity Slackware 2 05-26-2003 02:57 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 12:57 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration