Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 05-16-2003, 07:32 PM   #1
Registered: Jan 2003
Location: Texas
Distribution: Libranet 8.1, Slackware 9
Posts: 107

Rep: Reputation: 15
memory allocation

I was wondering if anybody knows why, when memory is freed due to a program exiting, the memory appears to stay allocated according to gtop and top.

Just curious.
Old 05-16-2003, 09:24 PM   #2
LQ Guru
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 270Reputation: 270Reputation: 270
Because Linux utilizes your RAM and will use it. Unless another program is started and needs to use that bit of RAM, it stays so the next time you might start that program, it will load faster since its already in memory.

This is asked all the time, usually daily it seems. A quick search will find you many responses on why your RAM is always used up in Linux. Have a look!


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 On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
memory allocation esael Linux - General 7 01-12-2008 12:12 PM
memory allocation gecoool Programming 2 10-24-2005 09:47 AM
Help - memory allocation in C zaichik Programming 3 09-04-2005 10:16 AM
memory allocation docGonzo2000 Linux - General 1 05-16-2003 09:22 PM
memory allocation. raven Programming 5 09-08-2002 01:50 PM > Forums > Linux Forums > Linux - General

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

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